1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 14:26:37 +02:00

Don't apply secureops to protected users

This commit is contained in:
Adam
2016-11-03 23:08:49 -04:00
parent 9e510cd0d9
commit 304494322f
+1 -1
View File
@@ -1314,7 +1314,7 @@ class CSSet : public Module
{
if (noautoop.HasExt(chan->ci))
give_modes = false;
if (secureops.HasExt(chan->ci))
if (secureops.HasExt(chan->ci) && !user->IsProtected())
// This overrides what chanserv does because it is loaded after chanserv
take_modes = true;
}