aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_callerid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-7/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-5/+5
| | | | | | | | | | | | | | | | The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-1/+1
| | | | | | | | with ModeHandlers, part 1
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-1/+1
| |
* | m_callerid Route ACCEPT to the server of the target user only, do not send ↵Gravatar attilamolnar2013-06-121-53/+72
| | | | | | | | | | | | METADATA at all ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before
* | CommandParser::LoopCall() changesGravatar attilamolnar2013-06-121-1/+1
| | | | | | | | | | | | - Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵Gravatar attilamolnar2013-05-201-10/+2
| | | | | | | | | | | | 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
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-9/+9
| | | | | | | | | | - 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.
* | Add method for writing server notices.Gravatar Peter Powell2013-05-141-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | Merge insp20Gravatar attilamolnar2013-04-281-23/+37
|\|
| * Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵Gravatar attilamolnar2013-04-211-0/+11
| | | | | | | | errors in m_callerid
| * m_callerid Allow messaging yourself while +g regardless of the ACCEPT listGravatar attilamolnar2013-04-191-1/+1
| |
| * m_callerid Ignore duplicate entries when unserializing callerid_dataGravatar attilamolnar2013-04-181-3/+5
| |
| * m_callerid Fix bookkeeping error introduced when unserializing callerid_dataGravatar attilamolnar2013-04-181-22/+23
| | | | | | | | | | | | This also fixes a memory leak that didn't occur naturally but was triggerable by remote servers Thanks to @SimosNap for the report
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-2/+2
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-1/+1
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-7/+0
|/
* m_callerid Fix memory leak in CallerIDExtInfo::free()Gravatar attilamolnar2012-12-161-0/+1
|
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-151-0/+1
| | | | allowed or not
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-191-1/+1
|
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-121-5/+5
|
* Updated the version lines on several modules.Gravatar Shawn Smith2012-07-061-2/+2
|