From 97b9055f92f21cd91af44a3d5dacce0024536cff Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 5 Nov 2011 15:05:15 -0400 Subject: Remove xlines from the IRCd aswell as from our list when the clear command is used, and fixed adding timed Zlines to inspircd --- modules/protocol/inspircd-ts6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/protocol') diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index 4ad003ad5..a540f30b3 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -218,7 +218,7 @@ class InspIRCdTS6Proto : public IRCDProto time_t timeleft = x->Expires - Anope::CurTime; if (timeleft > 172800 || !x->Expires) timeleft = 172800; - send_cmd(Config->Numeric, "ADDLINE Z %s %s %ld %ld :%s", x->GetHost().c_str(), x->By.c_str(), static_cast(Anope::CurTime), static_cast(Anope::CurTime), x->Reason.c_str()); + send_cmd(Config->Numeric, "ADDLINE Z %s %s %ld %ld :%s", x->GetHost().c_str(), x->By.c_str(), static_cast(Anope::CurTime), static_cast(timeleft), x->Reason.c_str()); } void SendSVSJoin(const Anope::string &source, const Anope::string &nick, const Anope::string &chan, const Anope::string &) -- cgit