aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_timedbans.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-2/+2
|
* Use FindNearestPrefixMode instead of looking for the halfop mode.Gravatar Sadie Powell2022-04-121-4/+4
|
* Add a numeric builder for the ERR_CHANOPRIVSNEEDED numeric.Gravatar Sadie Powell2022-04-121-1/+1
| | | | This should make privilege errors more consistent.
* Use a mode reference in the timedbans module.Gravatar Sadie Powell2021-11-161-2/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2021-08-271-1/+1
|
* Fix unsetting timed bans with excessively long masks.Gravatar Sadie Powell2021-06-181-0/+13
|
* Avoid unnecessarily looking up the ban mode.Gravatar Sadie Powell2021-06-181-1/+1
| | | | | We already have a ChanModeReference for this there's no need to look it up again.
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-3/+3
|
* Update copyright headers.Gravatar InspIRCd Robot2020-07-301-0/+1
|
* Replace all erroneous space indentation with tab indentation.Gravatar Sadie Powell2020-07-291-10/+10
|
* Allow disabling the timedbans set/unset notices (#1789).Gravatar iwalkalone2020-07-221-10/+25
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* Add Channel::WriteRemoteNotice and revert WriteNotice changes.Gravatar Sadie Powell2020-01-291-2/+2
| | | | | | This is a partial reversion of 687778b72e. See also: #1749.
* Use irc::equals instead of strcasecmp where appropriate.Gravatar Sadie Powell2020-01-171-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+11
|
* Allow Channel::WriteNotice send to other servers and status ranks.Gravatar Peter Powell2019-11-171-6/+2
|
* Improve the timed ban notices (#1722).Gravatar Matt Schatz2019-10-241-21/+26
| | | | - Save the nick of the setter to use in the expiry message. - Change both notice messages to a standard and informative style.
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Start using DurationString() in X-line additions andGravatar Matt Schatz2019-02-181-1/+1
| | | | a few other modules where it fits better than just showing seconds.
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-3/+3
|
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-4/+4
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Add an accessor for the last mode change list to ModeParser.Gravatar Peter Powell2018-08-131-1/+1
| | | | GetLastParse will be going away soon.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-2/+2
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Fixed misc. instances of ERR_NOSUCHNICK instead of channel numericsGravatar B00mX0r2017-12-221-1/+1
| | | | Per #1122
* 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.Gravatar Peter Powell2017-11-211-3/+3
| | | | GCCs warnings for this are much better than Clangs.
* 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_timedbansGravatar genius30002017-11-061-4/+10
| | | | | | | | | | * Send to remote servers upon setting * Send to halfop if available upon expiry
* | Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-2/+2
|\|
| * Fix mistakenly hardcoding the halfop prefix char in timedbans.Gravatar Peter Powell2017-08-251-1/+1
| | | | | | | | | | | | 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.
* | Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | m_timedbans Remove TimedBan::channelGravatar Attila Molnar2016-08-221-7/+2
| |
* | Switch to irc::equals() from irc::string in modules that use it for ↵Gravatar Attila Molnar2016-08-221-3/+2
| | | | | | | | comparing names of IRC objects
* | 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
| | | | | | | | parameters
* | 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 ↵Gravatar Attila Molnar2015-04-131-1/+23
| | | | | | | | channel from internal bookkeeping
| * 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.Gravatar Peter Powell2013-12-151-1/+1
| | | | | | | | | | - InspIRCd::IsValidMask - InspIRCd::TimeString
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-3/+3
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
| |
* | Call ModeParser::Process() directly instead of going through the CommandParserGravatar attilamolnar2013-08-041-3/+3
| | | | | | | | Simplify the way how m_conn_umodes assembles the modes it sets
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |