1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:16:38 +02:00

Update SendSGLine() in hybrid's protocol module to add support for temporary x-lines

This commit is contained in:
miwob
2016-01-19 20:07:45 +01:00
parent 10aeba2da2
commit 9d30e1d63f
+1 -1
View File
@@ -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