aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setname.cpp')
-rw-r--r--modules/setname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setname.cpp b/modules/setname.cpp
index b10585edf..ac7e3de89 100644
--- a/modules/setname.cpp
+++ b/modules/setname.cpp
@@ -84,7 +84,7 @@ public:
if (notifyopers || user != target)
{
ServerInstance->SNO.WriteGlobalSno('a', "{} ({}) used {} to change the real name of {} to \"{}\x0F\"",
- user->GetRealMask(), user->GetAddress(), this->name, target->nick, newreal);
+ user->GetRealMask(), user->GetAddress(), this->service_name, target->nick, newreal);
}
return CmdResult::SUCCESS;
}