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/unreal32.cpp | |
parent | f234a2bfab8a4d900cfc0df91afed530d80738d4 (diff) |
Made akills work on IRCds that do not support bans (ngircd)
Diffstat (limited to 'modules/protocol/unreal32.cpp')
-rw-r--r-- | modules/protocol/unreal32.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<long>(Anope::CurTime + 172800), static_cast<long>(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(" ", "_"); |