aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added -Wshorten-64-to-32 and fixed all warnings.Gravatar Dominic Hamon2021-05-301-1/+1
|
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-15/+4
|
* Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
|
* Convert CmdResult to an 8-bit strongly typed enum.Gravatar Sadie Powell2020-10-271-2/+2
|
* Alow modules to specify multiple syntax lines.Gravatar Sadie Powell2020-04-141-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
| |
* | Move FindNickOnly to UserManager.Gravatar Sadie Powell2020-02-091-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-0/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-0/+2
| |
* | Move ISupport logic out of the core and into core_info.Gravatar Sadie Powell2020-01-051-1/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-1/+1
|\|
| * Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-9/+9
|/
* Convert AWAY to use cross-module events and clean up slightly.Gravatar Peter Powell2018-08-121-8/+12
| | | | | | | OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | 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
|
* Add names for a bunch of numerics.Gravatar Peter Powell2018-02-021-2/+3
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-4/+4
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-12/+13
| | | | parameters
* Add rewritten m_watch moduleGravatar Attila Molnar2016-01-061-0/+267
| | | | Code is shared with m_monitor
* Nuke m_watchGravatar Attila Molnar2016-01-061-525/+0
|
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
|
* Merge insp20Gravatar Attila Molnar2014-10-271-3/+0
|\
| * Fix watch away numerics, #937Gravatar Adam2014-10-191-1/+1
| |
| * Kill some logically dead code detected by Coverity.Gravatar Peter Powell2014-10-131-3/+0
| | | | | | | | - m_watch: wl has already been confirmed to not be NULL on L161.
* | Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\|
| * m_watch Be more strict when checking whether the watch list of a user is fullGravatar Attila Molnar2014-04-121-1/+1
| | | | | | | | After a rehash MAX_WATCH can become lower than it was before
* | Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | | | | | containing it
* | Merge insp20Gravatar Attila Molnar2014-04-071-3/+3
|\|
| * Add REG_ALL checks to treat unregistered users as nonexistent in more casesGravatar Attila Molnar2014-04-041-1/+1
| |
| * m_watch Validate targ before use, noticed while rewriting m_watch for 2.2Gravatar Attila Molnar2014-03-271-2/+2
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-21/+21
| | | | | | | | 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-2/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Remove TR_END, remove TRANSLATEx() from commands that do not need itGravatar attilamolnar2013-06-131-2/+1
| |
* | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-181-2/+2
| | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-10/+10
| | | | | | | | | | - 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.
* | Fix building with libc++.Gravatar Peter Powell2013-04-191-6/+1
| | | | | | | | | | | | - Purged std::tr1::strlower (was never used). - Moved std::tr1::insensitive to irc::insensitive. - Added TR1NS macro to point to the correct C++ TR1 namespace.
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-3/+2
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-2/+2
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-1/+0
| |
* | Purge the deprecated hash_map from existance.Gravatar Peter Powell2013-04-011-1/+1
|/
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-3/+3
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* 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