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/inspircd-ts6.h | |
| parent | f234a2bfab8a4d900cfc0df91afed530d80738d4 (diff) | |
Made akills work on IRCds that do not support bans (ngircd)
Diffstat (limited to 'modules/protocol/inspircd-ts6.h')
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 6 |
1 files changed, 3 insertions, 3 deletions
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<long>(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<long>(Anope::CurTime), x->Reason.c_str()); } |
