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/inspircd-ts6.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/protocol/inspircd-ts6.h') diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index 3642a75f4..427233738 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -51,7 +51,7 @@ class InspIRCdTS6Proto : public IRCDProto this->SendChgIdentInternal(u->nick, u->GetIdent()); } - 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; @@ -125,7 +125,7 @@ class InspIRCdTS6Proto : public IRCDProto } /* SQLINE */ - void SendSQLine(const XLine *x) + void SendSQLine(User *, const XLine *x) { send_cmd(Config->Numeric, "ADDLINE Q %s %s %ld 0 :%s", x->Mask.c_str(), Config->s_OperServ.c_str(), static_cast(Anope::CurTime), x->Reason.c_str()); } @@ -172,7 +172,7 @@ class InspIRCdTS6Proto : public IRCDProto } /* SZLINE */ - void SendSZLine(const XLine *x) + void SendSZLine(User *, const XLine *x) { send_cmd(Config->Numeric, "ADDLINE Z %s %s %ld 0 :%s", x->Mask.c_str(), x->By.c_str(), static_cast(Anope::CurTime), x->Reason.c_str()); } -- cgit