mirror of
https://github.com/anope/anope.git
synced 2026-07-03 00:43:12 +02:00
Check for a valid server in /operserv noop
This commit is contained in:
@@ -131,9 +131,9 @@ class BahamutIRCdProto : public IRCDProto
|
||||
}
|
||||
|
||||
/* SVSNOOP */
|
||||
void SendSVSNOOP(const Anope::string &server, int set)
|
||||
void SendSVSNOOP(const Server *server, bool set)
|
||||
{
|
||||
send_cmd("", "SVSNOOP %s %s", server.c_str(), set ? "+" : "-");
|
||||
send_cmd("", "SVSNOOP %s %s", server->GetName().c_str(), set ? "+" : "-");
|
||||
}
|
||||
|
||||
/* SGLINE */
|
||||
|
||||
Reference in New Issue
Block a user