diff options
Diffstat (limited to 'src/cmd_admin.cpp')
-rw-r--r-- | src/cmd_admin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd_admin.cpp b/src/cmd_admin.cpp index 86072a5ed..5b04bafb7 100644 --- a/src/cmd_admin.cpp +++ b/src/cmd_admin.cpp @@ -25,10 +25,11 @@ extern "C" command_t* init_command(InspIRCd* Instance) return new cmd_admin(Instance); } -void cmd_admin::Handle (const char** parameters, int pcnt, userrec *user) +CmdResult cmd_admin::Handle (const char** parameters, int pcnt, userrec *user) { user->WriteServ("256 %s :Administrative info for %s",user->nick,ServerInstance->Config->ServerName); 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); + return CMD_SUCCESS; } |