summaryrefslogtreecommitdiff
path: root/src/commands/cmd_join.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_join.cpp')
-rw-r--r--src/commands/cmd_join.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_join.cpp b/src/commands/cmd_join.cpp
index e7c841399..b27007507 100644
--- a/src/commands/cmd_join.cpp
+++ b/src/commands/cmd_join.cpp
@@ -46,6 +46,6 @@ CmdResult CommandJoin::Handle (const std::vector<std::string>& parameters, User
}
}
- user->WriteNumeric(403, "%s %s :Invalid channel name",user->nick, parameters[0].c_str());
+ user->WriteNumeric(403, "%s %s :Invalid channel name",user->nick.c_str(), parameters[0].c_str());
return CMD_FAILURE;
}