aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_silence.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-1/+1
|
* Fix the silence TAGMSG flags being inverted in BitsToFlags.Gravatar Sadie Powell2021-06-201-2/+2
|
* Remove an unnecessary break statement.Gravatar Sadie Powell2020-09-271-1/+0
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+3
|
* Update my name and email address.Gravatar Sadie Powell2019-12-311-1/+1
|
* 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 ↵Gravatar iwalkalone2019-09-021-1/+1
| | | | character, not the entire string (#1698).
* 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.Gravatar Peter Powell2019-05-171-1/+1
| | | | This fixes a crash bug in the silence module on some versions of GCC.
* 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.Gravatar Peter Powell2019-04-181-0/+438
| | | | | | | | 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.
* 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>.Gravatar Peter Powell2018-07-261-4/+5
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* 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.Gravatar Peter Powell2018-01-061-6/+6
| | | | | | | | | | | | | - 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.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-3/+3
| | | | GCCs warnings for this are much better than Clangs.
* Switch to irc::equals() from irc::string in modules that use it for ↵Gravatar Attila Molnar2016-08-221-4/+4
| | | | comparing names of IRC objects
* 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
| | | | parameters
* 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 masksGravatar Renegade3342015-02-051-1/+9
| | | | | Adds a config entry (silence->exemptuline) that specifies whether users on U-lined servers can bypass silence masks.
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+2
|
* Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-1/+1
| | | | substr() returns a new string while erase() and assign() modify the existing one
* 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
| | | | never NULL
* Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | containing it
* Merge insp20Gravatar Attila Molnar2014-01-211-2/+2
|\
| * Fix m_silence looking for maxentries in <showwhois> instead of <silence>.Gravatar Peter Powell2013-10-261-1/+1
| | | | | | | | Fixes issue #644.
| * 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 classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-7/+7
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-2/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | 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 ↵Gravatar attilamolnar2013-05-201-14/+4
| | | | | | | | | | | | OnUserMessage and OnUserPreMessage 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
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-7/+7
| | | | | | | | | | - 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.
* | 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 ↵Gravatar attilamolnar2012-12-151-0/+1
| | | | allowed or not