inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 4a99e25569b3de10c936748f068ef8cdbfdf987d
parent fd6b8bddfa69d87d04f24c3e6e5aa8629cd9b578
Author: Peter Powell <petpow@saberuk.com>
Date:   Mon, 28 Jan 2019 22:17:44 +0000

Fix RPL_ADMINME not having the correct parameters.

Diffstat:
Msrc/coremods/core_info/cmd_admin.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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()));