diff --git a/modules/chanserv/cs_flags.cpp b/modules/chanserv/cs_flags.cpp index bfea8667f..b64e5051e 100644 --- a/modules/chanserv/cs_flags.cpp +++ b/modules/chanserv/cs_flags.cpp @@ -428,7 +428,7 @@ class CommandCSFlags final std::set newflags; for (auto &[priv, flag] : defaultFlags) { - if (access->HasPriv(priv)) + if (!access->HasPriv(priv)) continue; // Source doesn't have this flag. // Check that the source has access to set this entry.