summaryrefslogtreecommitdiff
path: root/modules/protocol/bahamut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r--modules/protocol/bahamut.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp
index 438703b78..880d10a3a 100644
--- a/modules/protocol/bahamut.cpp
+++ b/modules/protocol/bahamut.cpp
@@ -117,18 +117,18 @@ class BahamutIRCdProto : public IRCDProto
void SendSZLineDel(const XLine *x)
{
/* this will likely fail so its only here for legacy */
- send_cmd("", "UNSZLINE 0 %s", x->Mask.c_str());
+ send_cmd("", "UNSZLINE 0 %s", x->GetHost().c_str());
/* this is how we are supposed to deal with it */
- send_cmd("", "RAKILL %s *", x->Mask.c_str());
+ send_cmd("", "RAKILL %s *", x->GetHost().c_str());
}
/* SZLINE */
void SendSZLine(User *, const XLine *x)
{
/* this will likely fail so its only here for legacy */
- send_cmd("", "SZLINE %s :%s", x->Mask.c_str(), x->Reason.c_str());
+ send_cmd("", "SZLINE %s :%s", x->GetHost().c_str(), x->Reason.c_str());
/* this is how we are supposed to deal with it */
- send_cmd("", "AKILL %s * %d %s %ld :%s", x->Mask.c_str(), 172800, x->By.c_str(), static_cast<long>(Anope::CurTime), x->Reason.c_str());
+ send_cmd("", "AKILL %s * %d %s %ld :%s", x->GetHost().c_str(), 172800, x->By.c_str(), static_cast<long>(Anope::CurTime), x->Reason.c_str());
}
/* SVSNOOP */