aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_svshold.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2023-12-221-1/+1
|
* Apply SVSHOLDs to already existing users.Gravatar Sadie Powell2023-10-241-5/+6
|
* Fix matching SVSHOLDs against unusual matches.Gravatar Sadie Powell2023-10-241-4/+2
| | | | | These should be a case insensitive absolue match not a case sensitive or glob match.
* 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-2/+2
|
* Fix some more grammar errors in xline messages.Gravatar Sadie Powell2022-04-051-4/+1
|
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-051-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-0/+1
|
* Code refactor and minor fix (#1879)Gravatar Herman2021-06-121-1/+1
|
* 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/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-07-301-1/+1
|
* Change to local snotices for an SVSHOLD addition.Gravatar Matt Schatz2020-06-071-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-04-241-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Generalise XLine stats numerics using RPL_STATS from aircd.Gravatar Sadie Powell2020-02-181-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+9
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
|
* m_connectban and m_svshold: Use DurationString() in X-line messages.Gravatar Robby2019-04-281-3/+3
|
* X-line expiries: use the new DurationString() function.Gravatar Matt Schatz2019-02-181-2/+2
|
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
|
* Add the reason to xline removal notices. (#1545)Gravatar Matt Schatz2019-01-241-2/+4
| | | | | | | | | 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-.
* Improve X-line text consistency.Gravatar Matt Schatz2019-01-091-3/+3
| | | | | | | | | | - 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>
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-1/+6
|
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-2/+2
|
* Show reasons in xline expiry messages.Gravatar Robby2018-10-141-2/+2
|
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-2/+5
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-8/+8
| | | | GCCs warnings for this are much better than Clangs.
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
|
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | parameters
* Change the type of the user parameter in the OnUserPreNick() hook from User ↵Gravatar Attila Molnar2014-06-201-1/+1
| | | | | | | | to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
* m_svshold Hide server notices by defaultGravatar Attila Molnar2014-02-251-1/+1
| | | | Issue #742
* Merge insp20Gravatar Attila Molnar2014-01-211-1/+25
|\
| * m_svshold Add config option to hide snoticesGravatar Attila Molnar2014-01-201-4/+23
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Make various self contained methods static.Gravatar Peter Powell2013-12-151-1/+1
| | | | | | | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+0
| |
* | Merge insp20Gravatar attilamolnar2013-06-061-1/+1
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-1/+1
| |
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-7/+5
| |
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-5/+5
| | | | | | | | | | - Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
* | Add method for writing server notices.Gravatar Peter Powell2013-05-141-1/+1
| | | | | | | | | | | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
* | XLine: Provide a default implementation for DisplayExpiry()Gravatar attilamolnar2013-04-091-6/+0
| |
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-2/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-4/+0
|/