mirror of
https://github.com/anope/anope.git
synced 2026-07-01 07:16:38 +02:00
#1677 apply sqlines even if the ircd doesn't on non opers
This commit is contained in:
@@ -97,7 +97,12 @@ class SQLineManager : public XLineManager
|
||||
u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason);
|
||||
}
|
||||
else if (x->mask[0] != '#' || IRCD->CanSQLineChannel)
|
||||
{
|
||||
IRCD->SendSQLine(u, x);
|
||||
/* If it is an oper, assume they're walking it, otherwise kill for good measure */
|
||||
if (u && !u->HasMode("OPER"))
|
||||
u->Kill(Config->GetClient("OperServ"), "Q-Lined: " + x->reason);
|
||||
}
|
||||
}
|
||||
|
||||
void SendDel(XLine *x) anope_override
|
||||
|
||||
Reference in New Issue
Block a user