summaryrefslogtreecommitdiff
path: root/modules/commands/cs_mode.cpp
AgeCommit message (Collapse)Author
2024-01-24Shuffle modules around a bit.Sadie Powell
2024-01-23Mark types that have no inheritors as final.Sadie Powell
2024-01-23Improve the layout of types that inherit from another type.Sadie Powell
2024-01-06Use auto in places where the type is unambiguous.Sadie Powell
2024-01-04Update the copyright headers for 2024.Sadie Powell
2023-12-17Remove some unnecessary spaces that break editor indentation.Sadie Powell
2023-10-11Start migrating to range-based for loops.Sadie Powell
2023-03-13Fix missing override keywords.Sadie Powell
2022-12-31Merge branch '2.0' into 2.1.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-01-12Merge branch '2.0' into 2.1.Sadie Powell
2022-01-06Update the copyright headers for 2022.Sadie Powell
2022-01-04Replace all uses of push_back with emplace_back.Sadie Powell
2022-01-03Replace anope_{final,override} with their C++11 equivalent.Sadie Powell
2021-06-04Add support for per-mode list limits.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-12-14Fix a bunch of broken indentation.Peter Powell
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-02-21Unwrap list modes too in cs_mode, and fix clear on virtual modes to show an ↵Adam
error
2017-02-21Fix logging in cs_mode setAdam
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-10-04cs_mode: check chanserv privilege too for status modes on setAdam
2016-10-04cs_mode: make override logging of mode set more reliableAdam
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-09-06Merge pull request #126 from SaberUK/2.0+typosAdam
Fix a ton of typos.
2015-07-13Fix incorrect iteration when destructing modelockimplsAdam
2015-07-08Fix a ton of typos.Peter Powell
2015-02-05Fix os_mode to handle channels going away due to mode changes, and maybe cs_modeAdam
2015-01-26Fix negatively locking param modes in default mlockAdam
2014-08-24Change Channel::GetModeList to return a copy of the mode list, not aAdam
pair of lower/upper bound iterators. Sometimes when iterating the list, like in cs_mode, we can modify the contents of it, which combined with mlock always agressively trying to readd modes to it can do bad things.
2014-08-03Add cs_mode:max config optionAdam
2014-04-25Add "virtual mode" supportAdam
This allows fully tracking extbans and other modes set by a different underlying mode, such as InspIRCd's namedmodes Add two configuration options to cs_ban to configure which mode is set and whether or not to kick banned users. Add default "mute" fantasy command to botserv.example.conf
2014-04-17Use OnChanRegistered instead of OnCreateChan to set default mlocks.Adam
Because OnCreateChan is called from ChannelInfo's constructor, during DB loading it could cause mode locks to be unserialized without having all channels loaded, which breaks things.
2014-03-04Fix 2 crashes from removing the permanent channel mode from channels which ↵Adam
do not exist
2014-03-01Do not enforce mlock when enforcing mlockAdam
2014-02-03Actually just allow mode clear to take any mode nameAdam
2014-02-03Fix typo in mode clear, exempts -> exceptsAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-11-18Default adding to 1 in mlock add/del, always reply with something even if ↵Adam
the input is invalid
2013-10-05cs_mode: Fix override in /cs mode set.Robby-
2013-09-27Allow modifying mlock on nonexistant (but registered) channelsAdam
2013-09-27Add missing columns to os_forbid. Make most lists with dates use the shorter ↵Robby-
output format.
2013-09-27Make column titles in listings translatable.Robby-
Make some more strings translatable, and remove some that don't need translation at all. Make expirytimes and units translatable. Make predefined messages in listings also translatable. Make the remaining command descriptions translatable. Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27Translate listformatter properlyAdam
2013-09-27Fix typos, remove dead language defines.Robby-
os_set: Add missing debug text in help output.
2013-09-27Added missing override capabilities and log calls to some ChanServ commandsRobby-
2013-09-27Fix cs_mode lock reply if nothing is doneAdam
Fix not clearing forbids when os_forbid is unloaded Apply nick and chan forbids when added Fix loading forbids until after the service is constructed