aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+2
|
* Prevent having the dccallow module loaded with a zero list size.Gravatar Sadie Powell2022-10-101-1/+1
| | | | This doesn't make sense.
* Update copyright headers.Gravatar InspIRCd Robot2021-12-301-1/+1
|
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Fix leaking the dccallow list instead of setting it in FromInternal.Gravatar Sadie Powell2020-02-151-0/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-1/+1
|
* dccallow: use IsCTCP instead of parsing the message manually.Gravatar Sadie Powell2020-01-231-6/+7
|
* dccallow: Use irc::equals for messages received over IRC.Gravatar Sadie Powell2020-01-231-2/+2
|
* Use irc::equals instead of strcasecmp where appropriate.Gravatar Sadie Powell2020-01-171-2/+2
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-6/+12
|
* Add internal serialisations of the DCC allow and silence lists.Gravatar Peter Powell2019-09-031-7/+76
|
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)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.
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-3/+3
|
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-1/+5
|
* Make more modules rehash atomically (#1535)Gravatar linuxdaemon2018-12-191-12/+14
| | | | | Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
* Fix not rejecting invalid durations in DCCALLOW.Gravatar Peter Powell2018-12-121-2/+3
|
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-8/+9
|
* 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.
* Make more config stuff case insensitive.Gravatar Peter Powell2018-07-241-1/+1
|
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
|
* Add names for a bunch of numerics.Gravatar Peter Powell2018-02-021-14/+32
|
* 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-2/+2
| | | | GCCs warnings for this are much better than Clangs.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-3/+10
|
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-3/+3
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Add stdalgo::string::equalsci and use it instead of irc::string for ↵Gravatar Attila Molnar2016-08-221-3/+3
| | | | case-insensitive comparison
* Merge insp20Gravatar Attila Molnar2016-08-171-12/+26
|\
| * Fix dccallow to work with files with spaces in their namesGravatar Adam2016-02-181-12/+26
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-15/+15
| | | | | | | | parameters
* | m_dccallow Call WriteNumeric() in a loop when displaying helpGravatar Attila Molnar2016-02-241-19/+25
| |
* | Merge insp20Gravatar Attila Molnar2016-02-221-0/+10
|\|
| * m_dccallow Add config option to control max entries on a listGravatar Attila Molnar2016-02-121-1/+10
| | | | | | | | Default to 20
* | Remove some IS_SERVER() checksGravatar Attila Molnar2015-12-071-1/+1
| | | | | | | | | | - InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless - m_dccallow is calling FindNickOnly() so it had the check needlessly
* | Merge insp20Gravatar Attila Molnar2015-04-201-0/+6
|\|
| * m_dccallow Validate tokens before useGravatar Attila Molnar2015-04-161-0/+6
| |
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
| |
* | Reduce std::string::substr() usageGravatar Attila Molnar2015-01-101-1/+1
| | | | | | | | substr() returns a new string while erase() and assign() modify the existing one
* | Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-5/+1
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-2/+2
|\|
| * Correct the syntax messages of a few modules.Gravatar Robby-2014-04-121-2/+2
| |
* | Merge insp20Gravatar Attila Molnar2014-01-211-0/+4
|\|
| * m_dccallow Increase penalty for /DCCALLOW helpGravatar Attila Molnar2014-01-191-0/+4
| |
* | 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-32/+32
| | | | | | | | automatically
* | Change allocation of a few services to make use of auto registrationGravatar attilamolnar2013-09-081-23/+17
| |
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-1/+0
| |