aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
* Allow specifying multiple masks when adding an X-line.•••The only exemptions for this are RLINE (a real name might contains commas) and SVSHOLD (sent by services only). Closes #1972. Gravatar Sadie Powell2022-12-101-2/+3
* Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-041-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-051-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+2
* If a user has a unique username then include it in bans.Gravatar Sadie Powell2021-12-141-1/+1
* Add KNOCK and CYCLE to the list of sanitisable shun commands.Gravatar Sadie Powell2021-12-021-12/+12
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+1
* Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
* Add a shun option to only apply when users are fully connected.•••Closes #1825. Gravatar Sadie Powell2021-01-131-0/+6
* Update copyright headers.Gravatar InspIRCd Robot2020-10-301-3/+2
* Add a shun option for cleaning problematic allowed commands.Gravatar Sadie Powell2020-09-271-9/+23
* Make shun block client-only tags by default.Gravatar Sadie Powell2020-09-271-0/+14
* Refactor the shun module slightly.Gravatar Sadie Powell2020-09-271-17/+14
* Fix shuns not being applied correctly.Gravatar Sadie Powell2020-05-051-8/+16
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
* Add support for the servers/ignore-shun privilege.Gravatar Sadie Powell2020-03-291-12/+6
* Include ADMIN and OPER in the default for <shun:enabledcmds>.Gravatar Sadie Powell2020-03-291-1/+1
* Clean up the parsing logic for <shun:enabledcmds>.Gravatar Sadie Powell2020-03-291-11/+4
* Generalise XLine stats numerics using RPL_STATS from aircd.Gravatar Sadie Powell2020-02-181-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+13
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
* Start using DurationString() in X-line additions and•••a few other modules where it fits better than just showing seconds. Gravatar Matt Schatz2019-02-181-5/+4
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
* Add the reason to xline removal notices. (#1545)•••Show the reason in manual xline removal SNOTICEs, just like expiry SNOTICEs do. This modifies XLineManager::DelLine() to require another string reference passed to it. Requested by @Robby-.Gravatar Matt Schatz2019-01-241-4/+6
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-2/+2
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-1/+5
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-1/+1
* Remove the original line parameter of On{Pre,Post}Command.•••In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do. Gravatar Peter Powell2018-08-101-1/+1
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-3/+3
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+1
|\
| * Fix blank instead of empty PART message when a user is shunnedGravatar B00mX0r2018-04-111-1/+1
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-2/+5
* | Add SHUN as a /filter action•••This resolves #483 Gravatar B00mX0r2017-12-211-39/+1
* | Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-7/+7
* | Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-3/+7
|\|
| * Work around removing shuns on nicks when the nick is online.Gravatar Peter Powell2017-11-091-2/+6
* | Switch from std::stringstream to irc::spacesepstream.•••The latter is more suited to the things we have previously been using std::stringstream for. Gravatar Peter Powell2017-10-191-2/+2
* | Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* | m_shun Add support for shunning CIDR masks•••Issue #1195 Gravatar Attila Molnar2016-09-121-0/+3
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
* | Convert mods calling the old compat wrapper of ModuleManager::SetPriority() t...Gravatar Attila Molnar2015-02-151-1/+1
* | Change type of some associative containers to their flat versions, including ...Gravatar Attila Molnar2014-12-151-4/+2
* | Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-1/+1
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* | 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-3/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0