diff options
| author | 2023-06-04 12:24:49 +0100 | |
|---|---|---|
| committer | 2023-06-04 12:24:49 +0100 | |
| commit | 333e28b2e3a40f11a63a16b64a52cfa2b7c69134 (patch) | |
| tree | 4bd78aa877ca48b6256b148b0d164bfc182691b9 /src/modules/m_hideoper.cpp | |
| parent | Remove unnecessary prefix from bancache log messages. (diff) | |
Fix exposing oper hosts in `/STATS P`.
Diffstat (limited to 'src/modules/m_hideoper.cpp')
| -rw-r--r-- | src/modules/m_hideoper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp index 9a5621dd1..83664ccec 100644 --- a/src/modules/m_hideoper.cpp +++ b/src/modules/m_hideoper.cpp @@ -172,7 +172,7 @@ public: extra += INSP_FORMAT("{} idle for {} [since {}]", extra.empty() ? ':' : ',', idleperiod, idletime); } - stats.AddGenericRow(INSP_FORMAT("\x02{}\x02 ({}){}", oper->nick, oper->GetRealUserHost(), extra)); + stats.AddGenericRow(INSP_FORMAT("\x02{}\x02 ({}){}", oper->nick, oper->GetUserHost(), extra)); } // Sort opers alphabetically. |
