summaryrefslogtreecommitdiff
path: root/src/modes/umode_o.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/umode_o.cpp')
-rw-r--r--src/modes/umode_o.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/umode_o.cpp b/src/modes/umode_o.cpp
index bbb431ba9..242431e8a 100644
--- a/src/modes/umode_o.cpp
+++ b/src/modes/umode_o.cpp
@@ -24,7 +24,7 @@ ModeAction ModeUserOperator::OnModeChange(userrec* source, userrec* dest, chanre
* verifying as an oper and getting an opertype assigned
* to your userrec!
*/
- SNO->WriteToSnoMask('o', "User %s de-opered (by %s)", dest.c_str(), source.c_str());
+ SNO->WriteToSnoMask('o', "User %s de-opered (by %s)", dest->nick, source->nick);
dest->UnOper();
return MODEACTION_ALLOW;