diff options
author | miwob <michael@wobst.at> | 2016-01-19 20:07:45 +0100 |
---|---|---|
committer | miwob <michael@wobst.at> | 2016-01-19 20:07:45 +0100 |
commit | 9d30e1d63f5a34cd14eacdf3abd38d29362ddd35 (patch) | |
tree | f416defac543198b76c61277cece5bc5517d0f13 | |
parent | 10aeba2da208fb24702c8385aa1eed50369f03d0 (diff) |
Update SendSGLine() in hybrid's protocol module to add support for temporary x-lines
-rw-r--r-- | modules/protocol/hybrid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index e50c335d9..40ecc2981 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -79,7 +79,7 @@ class HybridProto : public IRCDProto void SendSGLine(User *, const XLine *x) anope_override { - UplinkSocket::Message(Config->GetClient("OperServ")) << "XLINE * " << x->mask << " 0 :" << x->GetReason(); + UplinkSocket::Message(Config->GetClient("OperServ")) << "XLINE * " << x->mask << " " (x->expires ? x->expires - Anope::CurTime : 0) " :" << x->GetReason(); } void SendSZLineDel(const XLine *x) anope_override |