diff options
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r-- | src/modules/m_chghost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 763bb2f26..e927ca69a 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -43,20 +43,20 @@ class CommandChghost : public Command } if (parameters[0].empty()) { - user->WriteServ("NOTICE %s :*** CHGHOST: Host must be specified", user->nick); + user->WriteServ("NOTICE %s :*** CHGHOST: Host must be specified", user->nick.c_str()); return CMD_FAILURE; } if ((parameters[1].c_str() - x) > 63) { - user->WriteServ("NOTICE %s :*** CHGHOST: Host too long", user->nick); + user->WriteServ("NOTICE %s :*** CHGHOST: Host too long", user->nick.c_str()); return CMD_FAILURE; } User* dest = ServerInstance->FindNick(parameters[0]); if (!dest) { - user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick, parameters[0].c_str()); + user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick.c_str(), parameters[0].c_str()); return CMD_FAILURE; } |