aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-24 02:58:46 +0000
committerGravatar Sadie Powell2023-01-24 02:58:46 +0000
commitf310e1c98dc262249146025ffffb81334b38680d (patch)
treeedd19152137e71db58efc5fbd289f34ce9b6919b /src/modules/m_operlog.cpp
parentClean up some remaining old format string stuff. (diff)
Refactor the caching methods in User and rename to make more sense.
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp
index 8460f7f96..bdb32b9ce 100644
--- a/src/modules/m_operlog.cpp
+++ b/src/modules/m_operlog.cpp
@@ -54,7 +54,7 @@ public:
Command* thiscommand = ServerInstance->Parser.GetHandler(command);
if ((thiscommand) && (thiscommand->access_needed == CmdAccess::OPERATOR))
{
- std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + stdalgo::string::join(parameters);
+ std::string msg = "[" + user->GetRealMask() + "] " + command + " " + stdalgo::string::join(parameters);
if (tosnomask)
ServerInstance->SNO.WriteGlobalSno('o', msg);
else