From 4d271e021042f0b2708abaff5ff3cfb1504a5cc0 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 31 Jan 2021 12:05:25 -0500 Subject: [PATCH] cs_access: require accounts to be confirmed for level 0 access --- modules/commands/cs_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }