From b59602abf85d522bb2f188be70b6cb7c9556a856 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 3 May 2011 00:13:19 -0400 Subject: Check for a valid server in /operserv noop --- modules/protocol/unreal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/unreal.cpp') diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index fa25a1049..cb7a54d61 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -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) -- cgit