diff options
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r-- | modules/commands/cs_flags.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index 6c65a72cb..b20bd11ec 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -91,8 +91,6 @@ class CommandCSFlags : public Command AccessGroup u_access = source.AccessFor(ci); const ChanAccess *highest = u_access.Highest(); - if (!highest) - return; if (IRCD->IsChannelValid(mask)) { @@ -147,7 +145,7 @@ class CommandCSFlags : public Command { // Flags allows removing others that have the same access as you, // but no other access system does. - if (highest->provider != FlagsAccessProvider::ap) + if (highest && highest->provider != FlagsAccessProvider::ap && !u_access.founder) // operator<= on the non-me entry! if (*highest <= *access) { |