From bcaf406747ea0456e97f40ba09f76223dd246581 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 27 Feb 2011 16:47:23 -0500 Subject: Made akills work on IRCds that do not support bans (ngircd) --- modules/protocol/unreal32.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/protocol/unreal32.cpp') diff --git a/modules/protocol/unreal32.cpp b/modules/protocol/unreal32.cpp index d5ee0ef2a..89940ab42 100644 --- a/modules/protocol/unreal32.cpp +++ b/modules/protocol/unreal32.cpp @@ -113,7 +113,7 @@ class UnrealIRCdProto : public IRCDProto ModeManager::ProcessModes(); } - void SendAkill(const XLine *x) + void SendAkill(User *, const XLine *x) { // Calculate the time left before this would expire, capping it at 2 days time_t timeleft = x->Expires - Anope::CurTime; @@ -190,7 +190,7 @@ class UnrealIRCdProto : public IRCDProto ** - Unreal will translate this to TKL for us ** */ - void SendSQLine(const XLine *x) + void SendSQLine(User *, const XLine *x) { send_cmd("", "c %s :%s", x->Mask.c_str(), x->Reason.c_str()); } @@ -257,7 +257,7 @@ class UnrealIRCdProto : public IRCDProto } /* SZLINE */ - void SendSZLine(const XLine *x) + void SendSZLine(User *, const XLine *x) { send_cmd("", "BD + Z * %s %s %ld %ld :%s", x->Mask.c_str(), x->By.c_str(), static_cast(Anope::CurTime + 172800), static_cast(Anope::CurTime), x->Reason.c_str()); } @@ -266,7 +266,7 @@ class UnrealIRCdProto : public IRCDProto /* * SVSNLINE + reason_where_is_space :realname mask with spaces */ - void SendSGLine(const XLine *x) + void SendSGLine(User *, const XLine *x) { Anope::string edited_reason = x->Reason; edited_reason = edited_reason.replace_all_cs(" ", "_"); -- cgit