From c5a4e8337c3c1315821cb9434db89aac059a17c0 Mon Sep 17 00:00:00 2001 From: Robby Date: Thu, 7 Jan 2021 03:31:08 +0100 Subject: Update copyright to 2021. This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \; --- modules/commands/cs_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_access.cpp') diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index fcbe5024b..498a772f0 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -1,6 +1,6 @@ /* ChanServ core functions * - * (C) 2003-2020 Anope Team + * (C) 2003-2021 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. -- cgit From 4d271e021042f0b2708abaff5ff3cfb1504a5cc0 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 31 Jan 2021 12:05:25 -0500 Subject: cs_access: require accounts to be confirmed for level 0 access --- modules/commands/cs_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_access.cpp') 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; } -- cgit