aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_hideoper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix exposing oper hosts in `/STATS P`.Gravatar Sadie Powell2023-06-041-1/+1
|
* Rename duration to timeutils and relocate InspIRCd::TimeString.Gravatar Sadie Powell2023-05-101-3/+3
|
* Fix some unnecessary boolean explicit checks.Gravatar Sadie Powell2023-02-281-1/+1
|
* Sort opers alphabetically in `/STATS P`.Gravatar Sadie Powell2023-02-271-0/+6
|
* Use the stats row count instead of counting opers manually.Gravatar Sadie Powell2023-02-271-3/+1
|
* Refactor the caching methods in User and rename to make more sense.Gravatar Sadie Powell2023-01-241-1/+1
|
* Replace InspIRCd::Format with fmt::format.Gravatar Sadie Powell2023-01-231-7/+6
|
* Move duration functions to their own header.Gravatar Sadie Powell2023-01-231-2/+3
|
* Replace ModeAction with bool.Gravatar Sadie Powell2023-01-221-4/+4
| | | | This enum is functionally the same as bool but with weird semantics.
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-2/+2
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2023-01-011-1/+1
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
| |
* | If an oper is away then show it in `/STATS P`.Gravatar Sadie Powell2022-12-061-8/+17
| | | | | | | | Also fix hideoper and the idle timestamp.
* | Move the oper statistics to core_oper and rewrite.Gravatar Sadie Powell2022-11-291-9/+16
| | | | | | | | | | | | | | The numerics we used previously were not being used according to the RFC and every implementation has their own behaviour here which makes it hard for clients to do anything reasonable. Instead of this using the generic stats numeric makes a lot more sense.
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-3/+3
| |
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-171-1/+1
|\|
| * Deduplicate all whois numerics to the whois module header.Gravatar Sadie Powell2021-07-051-1/+1
| |
* | Rename Simple{Channel,User}ModeHandler to match other mode handlers.Gravatar Sadie Powell2021-06-011-4/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-04-271-2/+3
|\|
| * Update hideoper for the /STATS P change in the previous commit.Gravatar Sadie Powell2021-04-191-2/+3
| |
* | Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-3/+1
| |
* | Convert various mode methods to take Mode::Change.Gravatar Sadie Powell2021-03-301-3/+3
| | | | | | | | | | | | | | | | - AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode
* | Replace all internal references to uline with services.Gravatar Sadie Powell2021-01-301-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
| |
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-5/+4
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+9
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+9
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-16/+3
|\|
| * Rename GetFlagIndex -> GetFieldIndexGravatar linuxdaemon2019-03-121-1/+1
| |
| * Add Who::Request::GetFlagIndex to get field indexGravatar linuxdaemon2019-03-121-16/+3
| | | | | | | | Replaces the dirty logic in m_hideoper and m_namesx
* | UserManager: remove fakederef.Gravatar Sadie Powell2019-02-071-2/+2
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-7/+7
|/
* Fix the OnSendWhoLine event being completely broken with WHOX.Gravatar Peter Powell2018-11-151-5/+30
|
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
|
* Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-2/+4
| | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* 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-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Use RPL_LUSEROP instead of the raw numeric in m_hideoper.Gravatar Peter Powell2017-08-111-2/+2
|
* Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵Gravatar Attila Molnar2016-02-261-6/+7
| | | | objects to the OnSendWhoLine hook
* m_hideoper Reorder checks in OnSendWhoLine()Gravatar Attila Molnar2016-02-261-3/+4
| | | | Check if the entire line should be hidden first
* Return ModResult from the OnSendWhoLine hookGravatar Attila Molnar2016-02-261-3/+4
|
* Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-5/+5
|
* Convert WhoisContext::SendLine() calls to pass the parameters of the numeric ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | as method parameters
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-3/+3
| | | | parameters
* Merge insp20Gravatar Attila Molnar2016-02-221-0/+40
|\