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/plexus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/protocol/plexus.cpp') diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 98ca554e9..9d360312e 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -92,7 +92,7 @@ class PlexusProto : public IRCDProto send_cmd(source ? source->GetUID() : Config->Numeric, "OPERWALL :%s", buf.c_str()); } - void SendSQLine(const XLine *x) + void SendSQLine(User *, const XLine *x) { send_cmd(Config->Numeric, "RESV * %s :%s", x->Mask.c_str(), x->Reason.c_str()); } @@ -103,7 +103,7 @@ class PlexusProto : public IRCDProto send_cmd(bi ? bi->GetUID() : Config->s_OperServ, "UNXLINE * %s", x->Mask.c_str()); } - void SendSGLine(const XLine *x) + void SendSGLine(User *, const XLine *x) { BotInfo *bi = OperServ; send_cmd(bi ? bi->GetUID() : Config->s_OperServ, "XLINE * %s 0 :%s", x->Mask.c_str(), x->Reason.c_str()); @@ -129,7 +129,7 @@ class PlexusProto : public IRCDProto c->SetMode(user, static_cast(i), user->nick, false); } - void SendAkill(const XLine *x) + void SendAkill(User *, const XLine *x) { BotInfo *bi = OperServ; send_cmd(bi ? bi->GetUID() : Config->s_OperServ, "KLINE * %ld %s %s :%s", static_cast(x->Expires - Anope::CurTime), x->GetUser().c_str(), x->GetHost().c_str(), x->Reason.c_str()); -- cgit