aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_channames.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-5/+4
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-5/+6
|
* Remove typedef UserMembIter, use Channel::MemberMap::iterator insteadGravatar Attila Molnar2014-07-141-2/+2
| | | | Remove the now unused UserMembList typedef too
* Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-1/+1
|
* Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-2/+2
|
* Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-2/+2
| | | | never NULL
* Use the iterator version of Channel::KickUser() in a few placesGravatar Attila Molnar2014-06-101-4/+4
|
* m_channames Remove temporary vector from ValidateChans()Gravatar Attila Molnar2014-06-071-9/+7
|
* m_channames Call ValidateChans() from cull() on unloadGravatar Attila Molnar2014-06-071-1/+2
| | | | | | | | | This ensures that if ValidateChans() removes everyone from a channel the channel is added to the cull list at the right time, that is, before the destruction of objects begin. The core IsChannel() is less strict than us regardless of our configuration (for now) but nevertheless this is the correct behavior.
* Add InspIRCd::GetChans(), remove ChannelCount()Gravatar Attila Molnar2014-03-141-1/+2
|
* Remove some dead codeGravatar Attila Molnar2014-01-311-2/+0
|
* Merge insp20Gravatar Attila Molnar2014-01-211-0/+6
|\
| * Allow ranges beginning with 0 in m_channamesGravatar Daniel Vassdal2013-12-211-0/+6
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-2/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Fix a couple of issuesGravatar attilamolnar2013-08-081-1/+1
| | | | | | | | | | | | | | | | - Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Replace hardcoded mode letters, part 2Gravatar attilamolnar2013-07-191-3/+7
| | | | | | | | This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-1/+1
| | | | | | | | | | | | | | | | indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
* | Merge insp20Gravatar attilamolnar2013-06-061-2/+10
|\|
| * m_channames Fix iteration in ValidateChans()Gravatar attilamolnar2013-05-181-2/+10
| | | | | | | | Spotted by @Adam-
* | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-181-6/+6
| | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-7/+7
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-1/+0
| |
* | Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ ↵Gravatar attilamolnar2013-04-011-15/+14
|/ | | | strings as arguments instead of C strings
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-2/+5
|
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-3/+3
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+14
|
* Fix negative array access in channameGravatar Daniel De Graaf2010-05-091-13/+14
|
* GCC doesn't like characters being used in array subscriptsGravatar danieldg2010-02-251-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12564 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix empty FMODE being sent if SendMode mode changesGravatar danieldg2010-01-281-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12323 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Cull channels, warn when Extensible objects are not culled as they must beGravatar danieldg2009-10-181-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11901 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-15/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Add channames module [jackmcbarn]Gravatar danieldg2009-09-211-0/+145
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11749 e03df62e-2008-0410-955e-edbf42e46eb7