summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd_admin.cpp2
-rw-r--r--src/cmd_users.cpp2
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;
}