summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel
AgeCommit message (Collapse)Author
2019-10-01Show the list modes which have variable list lengths in 005.Peter Powell
2019-08-13Fix some remaining uses of ato[il].Peter Powell
2019-08-07Convert all core ExtensionItem code away from {un,}serialize.Peter Powell
2019-06-12Show the mode syntax in ERR_INVALIDMODEPARAM.Peter Powell
2019-06-05Allow channels/auspex to see a secret channel topic. (#1654)Matt Schatz
An oper with the 'channels/auspex' priv can now see the topic of a secret channel (that they are not in) using TOPIC. This is on par with the expectation of 'channels/auspex' and current LIST behaviour.
2019-05-05cmd_names: Fix the syntax.Robby
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-04-19Remove the OnNamesListItem event out of the core.Peter Powell
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2019-01-29Fix -Wnewline-eof warning.Peter Powell
2019-01-28Add ParamMode::IsParameterSecret and remove special casing of keys.Peter Powell
2019-01-24Fix overriding <options:exemptchanops> with the exemptchanops mode.Peter Powell
Closes #1558.
2018-12-21Only parse valid durations, don't treat invalid multipliers as seconds (#1538)linuxdaemon
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-12-19Make more modules rehash atomically (#1535)linuxdaemon
Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
2018-12-17Alphabetically sort the modes in MAXLIST tokens.Peter Powell
This isn't strictly necessary but we do it for other modes in 005 so lets do it for MAXLIST too.
2018-12-12Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Peter Powell
The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-12Pass the Extensible container to ExtensionItem::free().Peter Powell
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-04-09Optimize some behaviour in the core (#1476).Dylan Frank
2018-03-31Prioritize checking for +ikl last to match previous behavior (#1474).Dylan Frank
2018-03-31Move <security:announceinvites> to core_channel.Peter Powell
2018-03-31Move checking for +ikl from the core to to core_channel.Peter Powell
2018-03-25Do not send unset topics on channel join per RFC (#1469)Dylan Frank
Fixes #1091.
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
2018-01-06Strip commas from channel keys like Charybdis and others do.Peter Powell
2017-12-22Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsB00mX0r
Per #1122
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-25Fix a minor typo in core_channel.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-11-06Add support for setting the unset rank in ModeHandler.Peter Powell
2017-10-21Add a helper function for calling the OnCheckExemption event.Peter Powell
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-07-24Replace the deprecated MAXBANS token with MAXLIST.Peter Powell
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2016-04-11Refactor topic setting logic to go through Channel::SetTopic() in all casesAttila Molnar
- Pass topic set time and optionally the setter to SetTopic() - Don't do anything if the topic is changed by a local user to what it is currently
2016-03-19Fix oversights in the WriteNumeric() parameter conversionAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-24Fix some numericsAttila Molnar
2015-12-30cmd_names Switch to Numeric::BuilderAttila Molnar
2015-12-30cmd_names Inherit handler from SplitCommandAttila Molnar
2015-12-06Add minimum channel rank and exception list parameters to the OnUserInvite hookAttila Molnar
2015-12-06cmd_invite Fire the OnUserInvite event before announcing the inviteAttila Molnar
2015-12-06cmd_invite Extend scope of the prefix character variableAttila Molnar
2015-11-02core_channel Implement invite (un)serializationAttila 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-11-02Move ServerConfig::InvBypassModes into core_channelAttila Molnar
2015-11-02Move handling of <options:invitebypassmodes> into core_channelAttila Molnar