aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
Commit message (Expand)AuthorAgeFilesLines
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
* 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-1/+1
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-3/+3
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-4/+4
* Add an accessor for the last mode change list to ModeParser.•••GetLastParse will be going away soon. Gravatar Peter Powell2018-08-131-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-2/+2
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numerics•••Per #1122 Gravatar B00mX0r2017-12-221-1/+1
* Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-101-0/+2
* 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
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Merge tag 'v2.0.25' into master.Gravatar Peter Powell2017-11-121-4/+10
|\
| * Improve (synchronize) the notices in m_timedbans•••* Send to remote servers upon setting * Send to halfop if available upon expiry Gravatar genius30002017-11-061-4/+10
* | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-2/+2
|\|
| * Fix mistakenly hardcoding the halfop prefix char in timedbans.•••This will almost always be % but if the server admin is using the customprefix module and remaps it to something else messages will not be sent out correctly. Gravatar Peter Powell2017-08-251-1/+1
* | 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_timedbans Remove TimedBan::channelGravatar Attila Molnar2016-08-221-7/+2
* | Switch to irc::equals() from irc::string in modules that use it for comparing...Gravatar Attila Molnar2016-08-221-3/+2
* | m_timedbans Remove one irc::string usageGravatar Attila Molnar2016-08-221-3/+4
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-3/+2
* | Merge insp20Gravatar Attila Molnar2015-04-201-0/+51
|\|
| * m_timedbans Notice user when trying to set a ban that's already setGravatar Attila Molnar2015-04-131-0/+7
| * m_timedbans Extract IsBanSet() to a functionGravatar Attila Molnar2015-04-131-5/+13
| * m_timedbans On channel destruction remove all timed bans belonging to the cha...Gravatar Attila Molnar2015-04-131-1/+23
| * m_timedbans Store Channel pointer in struct TimedBanGravatar Attila Molnar2015-04-131-0/+2
* | Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-11/+6
* | Automatically register and unregister mode watchersGravatar Attila Molnar2014-01-061-10/+0
* | Make various self contained methods static.•••- InspIRCd::IsValidMask - InspIRCd::TimeString Gravatar Peter Powell2013-12-151-1/+1
* | Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-3/+3
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
* | Call ModeParser::Process() directly instead of going through the CommandParser•••Simplify the way how m_conn_umodes assembles the modes it sets Gravatar attilamolnar2013-08-041-3/+3
* | 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
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to indicat...•••Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.) Gravatar attilamolnar2013-06-131-1/+1
* | Watch mode names with ModeWatchers instead of mode lettersGravatar attilamolnar2013-06-011-1/+1
* | Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-011-1/+1
* | 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-3/+3
* | 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
* | Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-10/+7
* | Remove OnAddBan and OnDelBan hooksGravatar attilamolnar2013-04-081-13/+33
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-2/+1
|/
* m_timedbans Notice halfops and above when a timed ban is placed•••Fixes #415 reported by @killerrabbit Gravatar attilamolnar2013-03-241-1/+6
* Modified m_timedbans to behave more like setting mode +b manually.•••It now accepts extbans. If one enters something not an extban, or valid banmask, it'll add "!*@*", making it a nick-ban instead of borking. Gravatar ShutterQuick2013-03-151-7/+11
* 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
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
* m_check, m_namesx, m_timedbans Minor cleanupGravatar attilamolnar2012-11-241-6/+0
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-191-2/+2
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-2/+2