summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-07 02:13:14 -0400
committerAdam <Adam@anope.org>2012-10-07 02:13:14 -0400
commit0a111c19764ed14ab5f724c78d9dd8c08a3c124f (patch)
tree3da5e863e2d0a2fa596b5b34d897cdd9a5b3c6ad
parent4b68f0447c1f3c52eba6f6d09ff2b18ede2e57c7 (diff)
Fix compile from bda3b1fa3a396e19fb04eda2f66d246e49572c20
-rw-r--r--modules/protocol/inspircd-ts6.h6
1 files changed, 2 insertions, 4 deletions
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())