aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_channames.cpp
Commit message (Expand)AuthorAgeFilesLines
* Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-111-8/+4
|\|
| * Use UCHAR_MAX instead of raw sizes in channames.•••This matches other code that does similar things. Gravatar Sadie Powell2022-03-111-4/+4
| * Only set the chanlog channel name handler after reading the config.•••Fixes IsChannel returning false for a valid channel name because the bitset is empty on server boot. Gravatar Sadie Powell2022-03-111-5/+1
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
* | Mark all module classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-2/+2
* | Add ChannelManager::IsPrefix.Gravatar Sadie Powell2021-05-081-1/+1
* | Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-6/+6
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-7/+7
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-2/+2
* | Rename ChanMax to MaxChannel for consistency with the other limits.Gravatar Sadie Powell2020-11-271-1/+1
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-2/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+5
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+5
* | ModeParser: remove fakederef.Gravatar Sadie Powell2019-02-071-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
* | Replace the TR1NS macro with the std namespace.Gravatar Sadie Powell2019-01-251-1/+1
|/
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-5/+4
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-5/+6
* Remove typedef UserMembIter, use Channel::MemberMap::iterator instead•••Remove the now unused UserMembList typedef too Gravatar Attila Molnar2014-07-141-2/+2
* 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
* 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 unload•••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. Gravatar Attila Molnar2014-06-071-1/+2
* 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 a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-2/+1
* | Fix a couple of issues•••- 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 Gravatar attilamolnar2013-08-081-1/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Replace hardcoded mode letters, part 2•••This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core Gravatar attilamolnar2013-07-191-3/+7
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••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.) Gravatar attilamolnar2013-06-131-1/+1
* | Merge insp20Gravatar attilamolnar2013-06-061-2/+10
|\|
| * m_channames Fix iteration in ValidateChans()•••Spotted by @Adam- Gravatar attilamolnar2013-05-181-2/+10
* | Remove the size argument from IsChannel and IsNick.•••There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. Gravatar Peter Powell2013-05-181-6/+6
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-7/+7
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-1/+0