mirror of
https://github.com/anope/anope.git
synced 2026-06-12 17:04:47 +02:00
@@ -56,7 +56,8 @@ class CommandCSEnforce : public Command
|
||||
if (user->IsProtected())
|
||||
continue;
|
||||
|
||||
if (ci->AccessFor(user).empty())
|
||||
AccessGroup access = ci->AccessFor(user);
|
||||
if (!access.founder && access.empty())
|
||||
users.push_back(user);
|
||||
}
|
||||
|
||||
@@ -201,7 +202,8 @@ class CommandCSEnforce : public Command
|
||||
if (user->IsProtected())
|
||||
continue;
|
||||
|
||||
if (!ci->AccessFor(user).empty())
|
||||
AccessGroup access = ci->AccessFor(user);
|
||||
if (access.founder || !access.empty())
|
||||
continue;
|
||||
|
||||
if (ci->c->users.size() - users.size() <= static_cast<unsigned>(l))
|
||||
|
||||
Reference in New Issue
Block a user