From 333e28b2e3a40f11a63a16b64a52cfa2b7c69134 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 4 Jun 2023 12:24:49 +0100 Subject: Fix exposing oper hosts in `/STATS P`. --- src/modules/m_hideoper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_hideoper.cpp') 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. -- cgit v1.3.1-10-gc9f91