Fix this one

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9755 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2008-05-19 00:13:05 +00:00
parent b03f6ce251
commit 52ba3b6df7

View File

@ -37,8 +37,8 @@ public:
CmdResult Handle (const std::vector<std::string> &parameters, User *user)
{
locked = true;
user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick, user->server);
ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick);
user->WriteNumeric(988, "%s %s :Closed for new connections", user->nick.c_str(), user->server);
ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used LOCKSERV to temporarily close for new connections", user->nick.c_str());
/* Dont send to the network */
return CMD_LOCALONLY;
}
@ -60,8 +60,8 @@ public:
CmdResult Handle (const std::vector<std::string> &parameters, User *user)
{
locked = false;
user->WriteNumeric(989, "%s %s :Open for new connections", user->nick, user->server);
ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used UNLOCKSERV to allow for new connections", user->nick);
user->WriteNumeric(989, "%s %s :Open for new connections", user->nick.c_str(), user->server);
ServerInstance->SNO->WriteToSnoMask('A', "Oper %s used UNLOCKSERV to allow for new connections", user->nick.c_str());
/* Dont send to the network */
return CMD_LOCALONLY;
}