diff options
| author | Adam <Adam@anope.org> | 2011-11-05 15:05:15 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-11-05 15:05:15 -0400 |
| commit | 97b9055f92f21cd91af44a3d5dacce0024536cff (patch) | |
| tree | 617a18ffcd1be8e3be5bf25d42fc407454f66505 /modules/protocol | |
| parent | 5f0b9338dc58923bbbba8293bf9021e87ceb1976 (diff) | |
Remove xlines from the IRCd aswell as from our list when the clear command is used, and fixed adding timed Zlines to inspircd
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<long>(Anope::CurTime), static_cast<long>(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<long>(Anope::CurTime), static_cast<long>(timeleft), x->Reason.c_str()); } void SendSVSJoin(const Anope::string &source, const Anope::string &nick, const Anope::string &chan, const Anope::string &) |
