diff options
author | Adam <Adam@sigterm.info> | 2021-01-31 12:05:25 -0500 |
---|---|---|
committer | Adam <Adam@sigterm.info> | 2021-01-31 12:05:25 -0500 |
commit | 4d271e021042f0b2708abaff5ff3cfb1504a5cc0 (patch) | |
tree | a911b8e3e3d87beee299897897989fa42cb50c89 /modules/commands/cs_access.cpp | |
parent | c5a4e8337c3c1315821cb9434db89aac059a17c0 (diff) |
cs_access: require accounts to be confirmed for level 0 access
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r-- | modules/commands/cs_access.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 498a772f0..508274002 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -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; } |