1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 21:46:38 +02:00

cs_access: require accounts to be confirmed for level 0 access

This commit is contained in:
Adam
2021-01-31 12:05:25 -05:00
parent c5a4e8337c
commit 4d271e0210
+1 -1
View File
@@ -908,7 +908,7 @@ class CSAccess : public Module
int16_t level = group->ci->GetLevel(priv);
if (level == -1)
return EVENT_ALLOW;
else if (level == 0 && group->nc)
else if (level == 0 && group->nc && !group->nc->HasExt("UNCONFIRMED"))
return EVENT_ALLOW;
return EVENT_CONTINUE;
}