mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Fix exposing oper hosts in /STATS P
.
This commit is contained in:
parent
2b8a7a2db9
commit
333e28b2e3
@ -214,7 +214,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.
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
}
|
||||
|
||||
stats.AddGenericRow(INSP_FORMAT("\x02{}\x02{} ({}){}", helper->nick, markhelpers ? " [helper]" : "",
|
||||
helper->GetRealUserHost(), extra));
|
||||
helper->GetUserHost(), extra));
|
||||
}
|
||||
|
||||
// Allow the core to add normal opers.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user