summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-28 22:17:44 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-28 22:18:00 +0000
commit4a99e25569b3de10c936748f068ef8cdbfdf987d (patch)
tree6ae174df404347c6bfa34f4e7d8d90a11c67afca /src/coremods
parentfd6b8bddfa69d87d04f24c3e6e5aa8629cd9b578 (diff)
Fix RPL_ADMINME not having the correct parameters.
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_info/cmd_admin.cpp2
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()));