summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2016-01-23 09:18:12 -0600
committerAdam <adam@sigterm.info>2016-01-23 09:18:12 -0600
commit8cf21191fb3da9b486be65afa72a4d6df4ab4ee0 (patch)
tree51b01e18fae4e2a8d85f35c5708855712189ed09
parentae847bcaf041287826a446b0c8a891e88a1d002b (diff)
parent9d30e1d63f5a34cd14eacdf3abd38d29362ddd35 (diff)
Merge pull request #147 from miwob/temporary_xline
Update SendSGLine() in hybrid's protocol module to add support for te…
-rw-r--r--modules/protocol/hybrid.cpp2
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