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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user