mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Fix checking if an access entry has a flag when migrating.
Closes #574.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user