summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/core_channel.h
AgeCommit message (Collapse)Author
2018-12-19Add the <maxlist> tag and switch ListModeBase to always use it.Peter Powell
The old method of doing this was: 1. Extremely inconsistently used. Some list modes used <banlist> and some used their own config tag. 2. Not documented in the slightest. There was a small reference to <maxbans> for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a <chanfilter> tag for general config whilst also using it for the max list settings. The new <maxlist> tag avoids these issues entirely.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-03-31Move <security:announceinvites> to core_channel.Peter Powell
2018-02-07Send the ACCEPT and KEYLEN ISUPPORT tokens.Peter Powell
- The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html
2017-12-11Don't allow users to set a zero channel limit.Peter Powell
Closes #451.
2017-12-10Extract RFC modes from the core to core_channel and core_user.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2015-12-30cmd_names Inherit handler from SplitCommandAttila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one
2015-05-16cmd_names Do the HasPrivPermission() check only in the NAMES handlerAttila Molnar
2015-05-16Move Channel::UserList() from core to cmd_namesAttila Molnar
2015-05-16cmd_topic Extract code sending RPL_TOPIC and RPL_TOPICTIME into a functionAttila Molnar
2014-03-05Create the core_channel moduleAttila Molnar