aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-2/+1
|
* Fix some "targ" usages which were missed in the earlier commit.Gravatar Sadie Powell2021-07-031-6/+5
|
* Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
|
* Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-1/+1
|
* Update the module descriptions.Gravatar Sadie Powell2021-04-211-1/+1
|
* Space-delimit the human readable callerid extensible data.Gravatar Sadie Powell2021-03-091-2/+4
|
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-3/+3
|
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+8
|
* Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-071-13/+11
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
|
* Update trivially-modifiable modules to handle tag messages.Gravatar Peter Powell2019-04-161-3/+17
|
* Use a consistent naming scheme for operator privileges.Gravatar Peter Powell2019-04-041-1/+1
| | | | | - users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
* Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-2/+2
|
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Gravatar Peter Powell2018-12-121-1/+1
| | | | | | | The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting.
* Allow modules to check if a user is on a callerid accept list.Gravatar Peter Powell2018-12-091-0/+23
|
* Raise the default max number of ACCEPT entries from 16 to 30.Gravatar Peter Powell2018-12-091-1/+1
|
* Pass the Extensible container to ExtensionItem::free().Gravatar Peter Powell2018-08-121-2/+2
|
* 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.
* Add ConfigTag::getUInt for reading unsigned config values.Gravatar Peter Powell2018-04-161-1/+1
|
* Use an oper priv instead of a config flag for overriding callerid.Gravatar Peter Powell2018-04-161-3/+1
|
* Send the ACCEPT and KEYLEN ISUPPORT tokens.Gravatar Peter Powell2018-02-071-0/+1
| | | | | | | | | | | - The ACCEPT=[count] token specifies the maximum amount of nicks which can be added to a m_callerid accept list. This token was added by ircd-ratbox in 3.0.9. - The KEYLEN=[length] token specifies the maximum length of a channel key. This token was added by ircd-ratbox in 3.1 beta. For more info see http://defs.ircdocs.horse/defs/isupport.html
* Rework message handling.Gravatar Peter Powell2018-01-061-3/+3
| | | | | | | | | | | | | - 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.
* Don't hardcode mode characters which are sent in 005 tokens.Gravatar Peter Powell2017-12-291-1/+1
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-6/+6
| | | | GCCs warnings for this are much better than Clangs.
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
|
* Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-131-8/+4
|
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Convert a bunch of time-related config options to getDuration.Gravatar Peter Powell2017-09-031-1/+1
|
* Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | numerics to it
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-8/+8
| | | | parameters
* Merge insp20Gravatar Attila Molnar2016-02-221-4/+5
|\
| * m_callerid Free old extension data before unserializing the new dataGravatar Attila Molnar2016-02-131-4/+5
| |
* | Remove some IS_SERVER() checksGravatar Attila Molnar2015-12-071-2/+2
| | | | | | | | | | - 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
* | m_callerid Prioritize after other mods for the OnUserPreMessage hookGravatar Attila Molnar2015-06-031-0/+6
| | | | | | | | Issue #1051
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
| |
* | Change type of some associative containers to their flat versions, including ↵Gravatar Attila Molnar2014-12-151-1/+1
| | | | | | | | Extensible storage
* | m_callerid Change CallerIdDataSet (wholistsme) to be a vectorGravatar Attila Molnar2014-12-101-3/+3
| |
* | m_callerid Add typedefs for containers in callerid_dataGravatar Attila Molnar2014-12-101-6/+9
| |
* | m_callerid Simplify code interacting with containersGravatar Attila Molnar2014-12-101-12/+3
| |
* | Add stdalgo::erase() and use it to simplify codeGravatar Attila Molnar2014-11-011-9/+2
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\|
| * Correct the syntax messages of a few modules.Gravatar Robby-2014-04-121-1/+1
| |
* | Merge insp20Gravatar Attila Molnar2014-01-211-4/+9
|\|
| * Use FindNickOnly() in a few more places if a local user is performing an ↵Gravatar Attila Molnar2014-01-191-3/+14
| | | | | | | | action to prevent UID walking
| * Fix ACCEPT propagation bug when it got a nick prefixed with +Gravatar Daniel Vassdal2013-12-091-0/+3
| | | | | | | | | | Fixes #696 Does not apply to 2.2 due to Attila's rewrite of the module
* | Remove PreText()-like functionsGravatar Attila Molnar2014-01-081-9/+5
| | | | | | | | Do processing in OnUserPreMessage()
* | Fix a few issuesGravatar attilamolnar2013-11-211-1/+1
| | | | | | | | | | | | | | | | | | - Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
* | These two numerics are supposed to use SentText() as they can go to remote ↵Gravatar Adam2013-11-121-2/+2
| | | | | | | | users...
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-11/+23
| | | | | | | | automatically