diff options
| author | Adam <Adam@anope.org> | 2011-02-27 16:47:23 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-02-27 16:47:23 -0500 |
| commit | bcaf406747ea0456e97f40ba09f76223dd246581 (patch) | |
| tree | 441f91fc002fda94a2008d9e7a755c76c30cd2c0 /modules/protocol/inspircd11.cpp | |
| parent | f234a2bfab8a4d900cfc0df91afed530d80738d4 (diff) | |
Made akills work on IRCds that do not support bans (ngircd)
Diffstat (limited to 'modules/protocol/inspircd11.cpp')
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index a8868817c..0689b8605 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -99,7 +99,7 @@ class InspIRCdProto : public IRCDProto inspircd_cmd_chgident(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; @@ -170,7 +170,7 @@ class InspIRCdProto : public IRCDProto } /* SQLINE */ - void SendSQLine(const XLine *x) + void SendSQLine(User *, const XLine *x) { send_cmd(Config->ServerName, "ADDLINE Q %s %s %ld 0 :%s", x->Mask.c_str(), Config->s_OperServ.c_str(), static_cast<long>(Anope::CurTime), x->Reason.c_str()); } @@ -231,7 +231,7 @@ class InspIRCdProto : public IRCDProto } /* SZLINE */ - void SendSZLine(const XLine *x) + void SendSZLine(User *, const XLine *x) { send_cmd(Config->ServerName, "ADDLINE Z %s %s %ld 0 :%s", x->Mask.c_str(), x->By.c_str(), static_cast<long>(Anope::CurTime), x->Reason.c_str()); } |
