summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-21 19:07:44 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-21 19:07:44 +0100
commit22d6da594d49b6059773b1ab16e990a16dee1707 (patch)
treefc1bb8b7df3bb58021cce159ec0e51b5c7724830 /src/commands
parent383a68a38ab34fa8cc0884c854e8e255d927f399 (diff)
Fix numeric ERR_NOTREGISTERED not containing the user's nick
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_server.cpp b/src/commands/cmd_server.cpp
index d54eca392..05954f3e8 100644
--- a/src/commands/cmd_server.cpp
+++ b/src/commands/cmd_server.cpp
@@ -48,7 +48,7 @@ CmdResult CommandServer::Handle (const std::vector<std::string>&, User *user)
}
else
{
- user->WriteNumeric(ERR_NOTREGISTERED, "%s :You may not register as a server (servers have separate ports from clients, change your config)",name.c_str());
+ user->WriteNumeric(ERR_NOTREGISTERED, "%s %s :You may not register as a server (servers have separate ports from clients, change your config)", user->nick.c_str(), name.c_str());
}
return CMD_FAILURE;
}