summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-29 14:21:51 +0000
committerSadie Powell <sadie@witchery.services>2024-03-29 14:21:51 +0000
commit2e59aac025bb6717e1ad0881fa09b884dae18a2e (patch)
treea3449ec000b485836eaf531ef6bfa39a78367a3d
parent3de6da80c6def15e6c445e08eb7433e1cecbfa25 (diff)
Fix the default value of accessmax in cs_access.
-rw-r--r--modules/chanserv/cs_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_access.cpp b/modules/chanserv/cs_access.cpp
index 7f10ae3e0..4c3981a5e 100644
--- a/modules/chanserv/cs_access.cpp
+++ b/modules/chanserv/cs_access.cpp
@@ -200,7 +200,7 @@ class CommandCSAccess final
}
}
- unsigned access_max = Config->GetModule("chanserv")->Get<unsigned>("accessmax", "1024");
+ unsigned access_max = Config->GetModule("chanserv")->Get<unsigned>("accessmax", "1000");
if (access_max && ci->GetDeepAccessCount() >= access_max)
{
source.Reply(_("Sorry, you can only have %d access entries on a channel, including access entries from other channels."), access_max);