summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
AgeCommit message (Collapse)Author
2020-02-15Fix leaking the dccallow list instead of setting it in FromInternal.Sadie Powell
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-23dccallow: use IsCTCP instead of parsing the message manually.Sadie Powell
2020-01-23dccallow: Use irc::equals for messages received over IRC.Sadie Powell
2020-01-17Use irc::equals instead of strcasecmp where appropriate.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-09-03Add internal serialisations of the DCC allow and silence lists.Peter Powell
2019-04-28Some more text fixes and improvements (#1618).Robby
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-02-18Start using DurationString() in X-line additions andMatt Schatz
a few other modules where it fits better than just showing seconds.
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2018-12-21Only parse valid durations, don't treat invalid multipliers as seconds (#1538)linuxdaemon
2018-12-19Make more modules rehash atomically (#1535)linuxdaemon
Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
2018-12-12Fix not rejecting invalid durations in DCCALLOW.Peter Powell
2018-08-14Fix a bunch more conflicting/unnamed numerics.Peter Powell
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.
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-02-02Add names for a bunch of numerics.Peter Powell
2018-01-06Rework message handling.Peter Powell
- 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.
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-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2016-08-22Add stdalgo::string::equalsci and use it instead of irc::string for ↵Attila Molnar
case-insensitive comparison
2016-08-17Merge insp20Attila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-24m_dccallow Call WriteNumeric() in a loop when displaying helpAttila Molnar
2016-02-22Merge insp20Attila Molnar
2016-02-18Fix dccallow to work with files with spaces in their namesAdam
2016-02-12m_dccallow Add config option to control max entries on a listAttila Molnar
Default to 20
2015-12-07Remove some IS_SERVER() checksAttila Molnar
- 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
2015-04-20Merge insp20Attila Molnar
2015-04-16m_dccallow Validate tokens before useAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2015-01-10Reduce std::string::substr() usageAttila Molnar
substr() returns a new string while erase() and assign() modify the existing one
2014-11-01Add stdalgo::erase() and use it to simplify codeAttila Molnar
2014-07-25Merge insp20Attila Molnar
2014-04-12Correct the syntax messages of a few modules.Robby-
2014-01-21Merge insp20Attila Molnar
2014-01-19m_dccallow Increase penalty for /DCCALLOW helpAttila 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-08Change allocation of a few services to make use of auto registrationattilamolnar
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-05-20Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵attilamolnar
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