summaryrefslogtreecommitdiff
path: root/include/listmode.h
AgeCommit message (Collapse)Author
2017-09-14Raise the default listmode limit to 100 from 64.Peter Powell
64 is a rather restrictive limit especially considering how fast channels can accumulate bans. In fact, #InspIRCd hit the ban limit in just over a year. Having a low limit might have made sense when memory was expensive but the average IRC server should be able to handle this fine now.
2017-07-24Replace the deprecated MAXBANS token with MAXLIST.Peter Powell
2017-07-24Add DEFAULT_LIST_SIZE for the default list mode size.Peter Powell
2014-12-16Change listmode storage type to vectorAttila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-08-06Change ListModeBase::DoRehash() to not be virtualAttila Molnar
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-06-21Fix Doxygen comments.Peter Powell
2013-05-27Simplify user mode removal via ModeHandler::RemoveMode()attilamolnar
The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it
2013-05-27Deduplicate RemoveMode() implementationsattilamolnar
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-09Fix ListModeBase on Windowsattilamolnar
2013-04-08ListModeBase: Cache max items per channelattilamolnar
2013-04-08ListModeBase: Minor changes to original u_listmode codeattilamolnar
- Add constructors to ListItem, ListLimit - Rename fields in ListItem - Store time as time_t instead of string - Store limits in a vector instead of a list - Don't deallocate the list when it becomes empty
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar