1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 23:03:12 +02:00

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

This commit is contained in:
Adam
2011-08-20 00:50:26 -04:00
parent fd999b996f
commit fa3b74a5b4
8 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -239,13 +239,13 @@ class InspIRCdProto : public IRCDProto
/* UNSZLINE */
void SendSZLineDel(const XLine *x)
{
send_cmd(Config->OperServ, "ZLINE %s", x->Mask.c_str());
send_cmd(Config->OperServ, "ZLINE %s", x->GetHost().c_str());
}
/* SZLINE */
void SendSZLine(User *, const XLine *x)
{
send_cmd(Config->ServerName, "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->ServerName, "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 &)