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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user