aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
Commit message (Expand)AuthorAgeFilesLines
* Send RPL_REAWAY for compatibility with Unreal's WATCH implementation.Gravatar Sadie Powell2023-08-041-1/+3
* Rework how away state is stored internally.•••This will be necessary for implementing pre-away as well as some changes for WATCH compatibility with Unreal. Gravatar Sadie Powell2023-08-041-6/+6
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-07-151-0/+2
|\
| * If a watched user appears whilst away then also send RPL_GONEAWAY.Gravatar Sadie Powell2023-07-151-0/+2
* | Retain the "real" username properly like we do for hostnames.•••This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations. Gravatar Sadie Powell2023-06-291-4/+4
* | Expose the removed away message in OnUserBack.Gravatar Sadie Powell2023-02-031-1/+1
* | Replace getInt/getUInt/getFloat with type safe templated functions.Gravatar Sadie Powell2023-01-251-1/+1
* | Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-1/+1
* | Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
* | Avoid copying shared_ptr<ConfigTag> when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* | Allow UserManager::Find{Nick,UUID,} to ignore unregistered users.Gravatar Sadie Powell2022-10-291-2/+2
* | Rename User::age to User::nickchanged and fix the docs.Gravatar Sadie Powell2022-10-111-5/+5
* | Default allow_empty_last_param to false.Gravatar Sadie Powell2022-09-071-1/+0
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
* | Add constexpr to the initialisation of various const static fields.Gravatar Sadie Powell2022-01-181-1/+1
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
* | Mark all command classes as final.Gravatar Sadie Powell2021-10-011-1/+2
* | 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.•••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. Gravatar Peter Powell2018-08-121-8/+12
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-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-2/+3
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* Hide User#host and User#dhost and use accessors to modify them.•••This removes the need to invalidate the cache after changing a user's hostname. Gravatar Peter Powell2017-10-281-4/+4
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-12/+13
* Add rewritten m_watch module•••Code is shared with m_monitor Gravatar Attila Molnar2016-01-061-0/+267
* 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.•••- m_watch: wl has already been confirmed to not be NULL on L161. Gravatar Peter Powell2014-10-131-3/+0
* | Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\|
| * m_watch Be more strict when checking whether the watch list of a user is full•••After a rehash MAX_WATCH can become lower than it was before Gravatar Attila Molnar2014-04-121-1/+1
* | Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* | 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