1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 13:36:38 +02:00

Check for a valid server in /operserv noop

This commit is contained in:
Adam
2011-05-03 00:13:19 -04:00
parent fd21c36725
commit b59602abf8
4 changed files with 19 additions and 18 deletions
+2 -2
View File
@@ -91,9 +91,9 @@ void unreal_cmd_chgident(const Anope::string &nick, const Anope::string &vIdent)
class UnrealIRCdProto : public IRCDProto
{
/* SVSNOOP */
void SendSVSNOOP(const Anope::string &server, int set)
void SendSVSNOOP(const Server *server, bool set)
{
send_cmd("", "f %s %s", server.c_str(), set ? "+" : "-");
send_cmd("", "f %s %s", server->GetName().c_str(), set ? "+" : "-");
}
void SendAkillDel(const XLine *x)