1
0
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:
Adam
2016-07-03 12:36:34 -04:00
parent 284d95bfe2
commit 8000ae0c0f
+5
View File
@@ -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