aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+0
* Fix unnecessarily using c_str in parameters that take a std::string.Gravatar Sadie Powell2022-09-041-2/+2
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* Use consistent xline messages locally•••For connectban these messages would have previously been duplicated to other servers until this was fixed earlier today. For dnsbl and rline they would have just differed on the local to a remote. As of the previous commit the module name is included in the setter so there is no need to vary the snotice. This makes things more consistent for server operators and allows scripts to parse the messages. Gravatar Sadie Powell2022-04-051-3/+11
* Include the module name in the setter for server-added xlines.Gravatar Sadie Powell2022-04-051-1/+1
* Fix the grammar of various xline messages.Gravatar Sadie Powell2022-04-051-2/+2
* Fix various documentation comments.Gravatar Sadie Powell2021-03-311-11/+0
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* 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-3/+9
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-5/+5
* 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-6/+6
* 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-2/+4
* 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-9/+9
* 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
* Rename User::fullname to realname and make it private.Gravatar Peter Powell2018-07-301-2/+2
* 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-2/+2
* 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/+6
* 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
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-1/+1
* Make RLines match against IP as well as hostGravatar genius30002017-10-101-2/+3
* 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
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-3/+3
* Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-1/+1
* Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-2/+2
* 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-3/+0
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Merge insp20Gravatar attilamolnar2013-06-061-3/+2
|\
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-051-3/+2
* | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-2/+2
* | Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-9/+9
* | Add method for writing server notices.•••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. Gravatar Peter Powell2013-05-141-2/+2
* | Merge insp20Gravatar attilamolnar2013-04-281-4/+44
|\|
| * m_rline Switch to OnUserRegister hook to disconnect banned users earlierGravatar attilamolnar2013-04-211-2/+10
| * m_filter, m_rline Remove rlines and filters when the regex engine changes or ...Gravatar attilamolnar2013-04-211-3/+35
* | Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* | XLine: Provide a default implementation for DisplayExpiry()Gravatar attilamolnar2013-04-091-6/+0
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
* | Move member variables from User to LocalUser•••- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping Gravatar attilamolnar2013-04-011-2/+3
|/
* m_cban, m_rline, m_shun Don't broadcast when user is a local user•••spanningtree sends an ADDLINE in this case Gravatar attilamolnar2012-12-051-0/+3
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-1/+1
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-4/+4