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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user