diff options
| author | Adam <Adam@anope.org> | 2011-08-20 00:50:26 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-08-20 00:50:26 -0400 |
| commit | fa3b74a5b49ca7a2c42387bb7b5aa24e09c369d6 (patch) | |
| tree | 26fc63833f93e915065ddeaab9c85968e5ffcfb4 /modules/protocol/inspircd-ts6.h | |
| parent | fd999b996fe4c76ee10016dbcad316365d1b7988 (diff) | |
Fixed zlines to only add the xline host, fixed db_mysql's write function, and prevent adding multiple of the same nick to access lists
Diffstat (limited to 'modules/protocol/inspircd-ts6.h')
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index e4d9995b3..bb2c1cc9a 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -200,13 +200,13 @@ class InspIRCdTS6Proto : public IRCDProto /* UNSZLINE */ void SendSZLineDel(const XLine *x) { - send_cmd(Config->Numeric, "DELLINE Z %s", x->Mask.c_str()); + send_cmd(Config->Numeric, "DELLINE Z %s", x->GetHost().c_str()); } /* SZLINE */ 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()); + send_cmd(Config->Numeric, "ADDLINE Z %s %s %ld 0 :%s", x->GetHost().c_str(), x->By.c_str(), static_cast<long>(Anope::CurTime), x->Reason.c_str()); } void SendSVSJoin(const Anope::string &source, const Anope::string &nick, const Anope::string &chan, const Anope::string &) |
