From 0a111c19764ed14ab5f724c78d9dd8c08a3c124f Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 7 Oct 2012 02:13:14 -0400 Subject: Fix compile from bda3b1fa3a396e19fb04eda2f66d246e49572c20 --- modules/protocol/inspircd-ts6.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/protocol') diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index 658c2194f..e1a1dfc2a 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -86,8 +86,6 @@ class InspIRCdTS6Proto : public IRCDProto void SendAkillDel(const XLine *x) anope_override { - const BotInfo *bi = findbot(Config->OperServ); - /* InspIRCd may support regex bans */ if (x->IsRegex() && has_rlinemod) { @@ -101,7 +99,7 @@ class InspIRCdTS6Proto : public IRCDProto else if (x->IsRegex() || x->HasNickOrReal()) return; - SendDelLine("G", x->mask); + SendDelLine("G", x->Mask); } void SendTopic(BotInfo *whosets, Channel *c) anope_override @@ -147,7 +145,7 @@ class InspIRCdTS6Proto : public IRCDProto size_t h = x->Mask.find('#'); if (h != Anope::string::npos) mask = mask.replace(h, 1, ' '); - SendAddLineOperserv("R", mask, timeleft, x->By, x->GetReason()); + SendAddLine("R", mask, timeleft, x->By, x->GetReason()); return; } else if (x->IsRegex() || x->HasNickOrReal()) -- cgit