diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-18 14:30:41 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-09-18 14:30:41 +0000 |
commit | bd37495db004be005b2a23f7db2c0270a7f81297 (patch) | |
tree | 5557ab33877a3eaa31e903e9fe36ab0b2c242214 | |
parent | b2bea78ea1b21a4b14e652944073a2f744c19767 (diff) |
Fixed bug #418 (incorrect numerics for part of /ADMIN and /USERS) - patch by Zaba
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8044 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_admin.cpp | 2 | ||||
-rw-r--r-- | src/cmd_users.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index e4a31ff0c..df984a10f 100644 --- a/src/cmd_admin.cpp +++ b/src/cmd_admin.cpp @@ -28,6 +28,6 @@ CmdResult cmd_admin::Handle (const char** parameters, int pcnt, userrec *user) if (*ServerInstance->Config->AdminName) user->WriteServ("257 %s :Name - %s",user->nick,ServerInstance->Config->AdminName); user->WriteServ("258 %s :Nickname - %s",user->nick,ServerInstance->Config->AdminNick); - user->WriteServ("258 %s :E-Mail - %s",user->nick,ServerInstance->Config->AdminEmail); + user->WriteServ("259 %s :E-Mail - %s",user->nick,ServerInstance->Config->AdminEmail); return CMD_SUCCESS; } diff --git a/src/cmd_users.cpp b/src/cmd_users.cpp index 15319d16e..969961390 100644 --- a/src/cmd_users.cpp +++ b/src/cmd_users.cpp @@ -21,6 +21,6 @@ extern "C" DllExport command_t* init_command(InspIRCd* Instance) CmdResult cmd_users::Handle (const char** parameters, int pcnt, userrec *user) { - user->WriteServ("445 %s :USERS has been disabled (depreciated command)",user->nick); + user->WriteServ("446 %s :USERS has been disabled (depreciated command)",user->nick); return CMD_FAILURE; } |