summaryrefslogtreecommitdiff
path: root/src/commands/cmd_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_part.cpp')
-rw-r--r--src/commands/cmd_part.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_part.cpp b/src/commands/cmd_part.cpp
index 07b45367f..352b967b5 100644
--- a/src/commands/cmd_part.cpp
+++ b/src/commands/cmd_part.cpp
@@ -54,7 +54,7 @@ CmdResult CommandPart::Handle (const std::vector<std::string>& parameters, User
}
else
{
- user->WriteServ( "401 %s %s :No such channel", user->nick, parameters[0].c_str());
+ user->WriteServ( "401 %s %s :No such channel", user->nick.c_str(), parameters[0].c_str());
return CMD_FAILURE;
}