diff options
author | Peter Powell <petpow@saberuk.com> | 2019-01-28 22:17:44 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-01-28 22:18:00 +0000 |
commit | 4a99e25569b3de10c936748f068ef8cdbfdf987d (patch) | |
tree | 6ae174df404347c6bfa34f4e7d8d90a11c67afca | |
parent | fd6b8bddfa69d87d04f24c3e6e5aa8629cd9b578 (diff) |
Fix RPL_ADMINME not having the correct parameters.
-rw-r--r-- | src/coremods/core_info/cmd_admin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_admin.cpp b/src/coremods/core_info/cmd_admin.cpp index 58a799d77..8ef68749a 100644 --- a/src/coremods/core_info/cmd_admin.cpp +++ b/src/coremods/core_info/cmd_admin.cpp @@ -34,7 +34,7 @@ CmdResult CommandAdmin::Handle(User* user, const Params& parameters) { if (parameters.size() > 0 && !irc::equals(parameters[0], ServerInstance->Config->ServerName)) return CMD_SUCCESS; - user->WriteRemoteNumeric(RPL_ADMINME, InspIRCd::Format("Administrative info for %s", ServerInstance->Config->ServerName.c_str())); + user->WriteRemoteNumeric(RPL_ADMINME, ServerInstance->Config->ServerName, "Administrative info"); if (!AdminName.empty()) user->WriteRemoteNumeric(RPL_ADMINLOC1, InspIRCd::Format("Name - %s", AdminName.c_str())); user->WriteRemoteNumeric(RPL_ADMINLOC2, InspIRCd::Format("Nickname - %s", AdminNick.c_str())); |