summaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
AgeCommit message (Collapse)Author
2021-03-05Update copyright headers.InspIRCd Robot
2020-07-30Update copyright headers.InspIRCd Robot
2020-07-29Replace all erroneous space indentation with tab indentation.Sadie Powell
2020-07-22Allow disabling the timedbans set/unset notices (#1789).iwalkalone
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-29Add Channel::WriteRemoteNotice and revert WriteNotice changes.Sadie Powell
This is a partial reversion of 687778b72e. See also: #1749.
2020-01-17Use irc::equals instead of strcasecmp where appropriate.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-11-17Allow Channel::WriteNotice send to other servers and status ranks.Peter Powell
2019-10-24Improve the timed ban notices (#1722).Matt Schatz
- Save the nick of the setter to use in the expiry message. - Change both notice messages to a standard and informative style.
2019-04-28Some more text fixes and improvements (#1618).Robby
2019-02-18Start using DurationString() in X-line additions andMatt Schatz
a few other modules where it fits better than just showing seconds.
2018-12-21Only parse valid durations, don't treat invalid multipliers as seconds (#1538)linuxdaemon
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13Add an accessor for the last mode change list to ModeParser.Peter Powell
GetLastParse will be going away soon.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2017-12-22Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsB00mX0r
Per #1122
2017-12-10Extract RFC modes from the core to core_channel and core_user.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-11-06Improve (synchronize) the notices in m_timedbansgenius3000
* Send to remote servers upon setting * Send to halfop if available upon expiry
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-08-25Fix mistakenly hardcoding the halfop prefix char in timedbans.Peter Powell
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.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2016-08-22m_timedbans Remove TimedBan::channelAttila Molnar
2016-08-22Switch to irc::equals() from irc::string in modules that use it for ↵Attila Molnar
comparing names of IRC objects
2016-08-22m_timedbans Remove one irc::string usageAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-04-20Merge insp20Attila Molnar
2015-04-13m_timedbans Notice user when trying to set a ban that's already setAttila Molnar
2015-04-13m_timedbans Extract IsBanSet() to a functionAttila Molnar
2015-04-13m_timedbans On channel destruction remove all timed bans belonging to the ↵Attila Molnar
channel from internal bookkeeping
2015-04-13m_timedbans Store Channel pointer in struct TimedBanAttila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-01-06Automatically register and unregister mode watchersAttila Molnar
2013-12-15Make various self contained methods static.Peter Powell
- InspIRCd::IsValidMask - InspIRCd::TimeString
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Call ModeParser::Process() directly instead of going through the CommandParserattilamolnar
Simplify the way how m_conn_umodes assembles the modes it sets
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-13Remove TR_END, remove TRANSLATEx() from commands that do not need itattilamolnar
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
indicate local only mode changes and mode merges 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.)
2013-06-01Watch mode names with ModeWatchers instead of mode lettersattilamolnar
2013-06-01Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()attilamolnar
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-05-14Add method for writing server notices.Peter Powell
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.
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar