aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
Commit message (Expand)AuthorAgeFilesLines
* Add internal serialisations of the DCC allow and silence lists.Gravatar Peter Powell2019-09-031-6/+83
* When silence mask is prefixed by + or -, it should only remove the first char...Gravatar iwalkalone2019-09-021-1/+1
* Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-22/+28
* Copy the silence flags when sending update notifications.•••This fixes a crash bug in the silence module on some versions of GCC. Gravatar Peter Powell2019-05-171-1/+1
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-5/+5
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
* Add the new implementation of the silence module.•••This module has significant improvements on the previous one: * Flags which actually make sense. * Better compatibility with other SILENCE implementations. * Support for blocking CTCPs. * Support for blocking TAGMSGs. Gravatar Peter Powell2019-04-181-0/+438
* Remove m_silence pending a complete rewrite.Gravatar Peter Powell2019-04-181-386/+0
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-3/+3
* 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-4/+5
* Use !empty() instead of 'size() > 0' when checking parameter count.Gravatar B00mX0r2018-07-031-2/+2
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-4/+1
* Add names for a bunch of numerics.Gravatar Peter Powell2018-02-021-7/+18
* Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-6/+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-3/+3
* Switch to irc::equals() from irc::string in modules that use it for comparing...Gravatar Attila Molnar2016-08-221-4/+4
* Simplify GetRouting() methods doing unicastGravatar Attila Molnar2016-03-291-4/+1
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-7/+7
* m_silence Change silencelist type to vectorGravatar Attila Molnar2015-06-031-3/+3
* m_silence Remove unused parameters from OnBuildExemptList and rename itGravatar Attila Molnar2015-06-031-2/+2
* modules/m_silence: Allow U-lined services to bypass silence masks•••Adds a config entry (silence->exemptuline) that specifies whether users on U-lined servers can bypass silence masks. Gravatar Renegade3342015-02-051-1/+9
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+2
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-1/+1
* Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-1/+1
* Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-1/+1
* Change return type of Channel::GetUsers() to reference from pointer as it is ...Gravatar Attila Molnar2014-07-141-2/+2
* Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+2
|\
| * Fix m_silence looking for maxentries in <showwhois> instead of <silence>.•••Fixes issue #644. Gravatar Peter Powell2013-10-261-1/+1
| * Improve support for rarely used compilers, EKOPath in this case.Gravatar ChrisTX2013-08-311-1/+1
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-8/+1
* | Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-1/+1
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-7/+7
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+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-2/+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
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-2/+1
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to On...•••All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases Gravatar attilamolnar2013-05-201-14/+4
* | 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-7/+7
* | 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-1/+1
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-3/+3
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-4/+0
|/
* Add a flag to Command that controls whether an empty last parameter is allowe...Gravatar attilamolnar2012-12-151-0/+1
* 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-3/+3
* 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
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-2/+1
* Fix more undefined behavior caused by referencing the returned buffer by std:...•••See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88 Gravatar attilamolnar2012-09-301-5/+9
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+18