diff options
Diffstat (limited to 'src/commands/cmd_version.cpp')
-rw-r--r-- | src/commands/cmd_version.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_version.cpp b/src/commands/cmd_version.cpp index 51e9e771a..5c87ca8e4 100644 --- a/src/commands/cmd_version.cpp +++ b/src/commands/cmd_version.cpp @@ -23,7 +23,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) CmdResult CommandVersion::Handle (const char* const*, int, User *user) { - user->WriteServ("351 %s :%s",user->nick,ServerInstance->GetVersionString().c_str()); + user->WriteNumeric(351, "%s :%s",user->nick,ServerInstance->GetVersionString().c_str()); ServerInstance->Config->Send005(user); return CMD_SUCCESS; } |