1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:24:49 +02:00

Fix checking if an access entry has a flag when migrating.

Closes #574.
This commit is contained in:
Sadie Powell
2026-05-13 23:40:09 +01:00
parent 1cf64a49c0
commit c1cf7b0bcc
+1 -1
View File
@@ -428,7 +428,7 @@ class CommandCSFlags final
std::set<char> 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.