summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-09 11:39:03 +0000
committerSadie Powell <sadie@witchery.services>2024-03-09 11:43:38 +0000
commit12486f6ceedf9b3f3ee90c72f4b61c1aef931656 (patch)
tree6595b82274a75d15c05187460dcfa65bd58e56a8
parent891375baca44d1b18e60505ecf6ae52bf2c46e29 (diff)
Tweak the config default limits slightly.
-rw-r--r--data/botserv.example.conf2
-rw-r--r--data/chanserv.example.conf10
-rw-r--r--data/memoserv.example.conf4
-rw-r--r--data/nickserv.example.conf6
-rw-r--r--modules/chanserv/chanserv.cpp2
-rw-r--r--modules/chanserv/cs_clone.cpp2
-rw-r--r--modules/chanserv/cs_flags.cpp2
-rw-r--r--modules/chanserv/cs_mode.cpp2
-rw-r--r--modules/chanserv/cs_xop.cpp2
-rw-r--r--modules/memoserv/ms_ignore.cpp2
-rw-r--r--modules/operserv/os_forbid.cpp4
11 files changed, 19 insertions, 19 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf
index b43309f35..d5911a9fc 100644
--- a/data/botserv.example.conf
+++ b/data/botserv.example.conf
@@ -183,7 +183,7 @@ module
/*
* The maximum number of entries a single bad words list can have.
*/
- badwordsmax = 32
+ badwordsmax = 50
/*
* If set, BotServ will use case sensitive checking for badwords.
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 9ef703ed0..56f9539c9 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -114,15 +114,15 @@ module
/*
* The maximum number of entries on a channel's access list.
- * If not set, the default is 1024. This can be set to 0 for unlimited.
+ * If not set, the default is 1000. This can be set to 0 for unlimited.
*/
- accessmax = 1024
+ accessmax = 1000
/*
* The length of time ChanServ stays in a channel after kicking a user from a channel they are not
* permitted to be in. This only occurs when the user is the only one in the channel.
*/
- inhabit = 15s
+ inhabit = 1m
/*
* Allow only IRC Operators to use ChanServ.
@@ -913,7 +913,7 @@ module
/*
* The maximum number of entries on a channel's autokick list.
*/
- autokickmax = 32
+ autokickmax = 50
/*
* The default reason for an autokick if none is given.
@@ -1126,7 +1126,7 @@ module
*
* This directive is optional.
*/
- max = 32
+ max = 50
}
command { service = "ChanServ"; name = "MODE"; command = "chanserv/mode"; group = "chanserv/management"; }
diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf
index 9f07ec424..0d1aebdb2 100644
--- a/data/memoserv.example.conf
+++ b/data/memoserv.example.conf
@@ -83,7 +83,7 @@ module
*
* This directive is optional, but recommended.
*/
- senddelay = 3s
+ senddelay = 30s
}
/*
@@ -146,7 +146,7 @@ module
*
* This directive is optional.
*/
- max = 32
+ max = 50
}
command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; }
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 4a7b9158e..6ee5b9a91 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -112,7 +112,7 @@ module
* The minimum length of time between consecutive uses of NickServ's REGISTER command. This
* directive is optional, but recommended. If not set, this restriction will be disabled.
*/
- regdelay = 30s
+ regdelay = 5m
/*
* The length of time before a nick's registration expires.
@@ -322,7 +322,7 @@ module
*
* This directive is optional, but recommended. If not set or set to 0, no limits will be applied.
*/
- maxaliases = 16
+ maxaliases = 10
/*
* If set, the NickServ GROUP command won't allow any group changes. This is recommended to
@@ -460,7 +460,7 @@ module
*
* This directive is optional.
*/
- #nickregdelay = 30s
+ nickregdelay = 15s
/*
* The length of time a user using an unconfirmed account has
diff --git a/modules/chanserv/chanserv.cpp b/modules/chanserv/chanserv.cpp
index e00ecf05b..f04b69dab 100644
--- a/modules/chanserv/chanserv.cpp
+++ b/modules/chanserv/chanserv.cpp
@@ -52,7 +52,7 @@ public:
* @param chan The channel
*/
ChanServTimer(Reference<BotInfo> &cs, ExtensibleItem<bool> &i, Module *m, Channel *chan)
- : Timer(m, Config->GetModule(m)->Get<time_t>("inhabit", "15s"))
+ : Timer(m, Config->GetModule(m)->Get<time_t>("inhabit", "1m"))
, ChanServ(cs)
, inhabit(i)
, c(chan)
diff --git a/modules/chanserv/cs_clone.cpp b/modules/chanserv/cs_clone.cpp
index 3e4d9bc81..ec8096fe9 100644
--- a/modules/chanserv/cs_clone.cpp
+++ b/modules/chanserv/cs_clone.cpp
@@ -24,7 +24,7 @@ class CommandCSClone final
static void CopyAccess(CommandSource &source, ChannelInfo *ci, ChannelInfo *target_ci)
{
std::set<Anope::string> masks;
- unsigned access_max = Config->GetModule("chanserv")->Get<unsigned>("accessmax", "1024");
+ unsigned access_max = Config->GetModule("chanserv")->Get<unsigned>("accessmax", "1000");
unsigned count = 0;
for (unsigned i = 0; i < target_ci->GetAccessCount(); ++i)
diff --git a/modules/chanserv/cs_flags.cpp b/modules/chanserv/cs_flags.cpp
index b1cb02edd..feb64aacd 100644
--- a/modules/chanserv/cs_flags.cpp
+++ b/modules/chanserv/cs_flags.cpp
@@ -175,7 +175,7 @@ class CommandCSFlags 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);
diff --git a/modules/chanserv/cs_mode.cpp b/modules/chanserv/cs_mode.cpp
index 631196c7a..8c7c7c1c3 100644
--- a/modules/chanserv/cs_mode.cpp
+++ b/modules/chanserv/cs_mode.cpp
@@ -336,7 +336,7 @@ class CommandCSMode final
continue;
}
- if (modelocks->GetMLock().size() >= Config->GetModule(this->owner)->Get<unsigned>("max", "32"))
+ if (modelocks->GetMLock().size() >= Config->GetModule(this->owner)->Get<unsigned>("max", "50"))
{
source.Reply(_("The mode lock list of \002%s\002 is full."), ci->name.c_str());
continue;
diff --git a/modules/chanserv/cs_xop.cpp b/modules/chanserv/cs_xop.cpp
index 835768849..b47e1e988 100644
--- a/modules/chanserv/cs_xop.cpp
+++ b/modules/chanserv/cs_xop.cpp
@@ -208,7 +208,7 @@ private:
}
}
- 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);
diff --git a/modules/memoserv/ms_ignore.cpp b/modules/memoserv/ms_ignore.cpp
index c67c1b550..b1c14fb4a 100644
--- a/modules/memoserv/ms_ignore.cpp
+++ b/modules/memoserv/ms_ignore.cpp
@@ -51,7 +51,7 @@ public:
source.Reply(ACCESS_DENIED);
else if (command.equals_ci("ADD") && !param.empty())
{
- if (mi->ignores.size() >= Config->GetModule(this->owner)->Get<unsigned>("max", "32"))
+ if (mi->ignores.size() >= Config->GetModule(this->owner)->Get<unsigned>("max", "50"))
{
source.Reply(_("Sorry, the memo ignore list for \002%s\002 is full."), channel.c_str());
return;
diff --git a/modules/operserv/os_forbid.cpp b/modules/operserv/os_forbid.cpp
index 4b19fbc4d..bb014c158 100644
--- a/modules/operserv/os_forbid.cpp
+++ b/modules/operserv/os_forbid.cpp
@@ -285,7 +285,7 @@ public:
BotInfo *OperServ = Config->GetClient("OperServ");
if (IRCD->CanSQLineChannel && OperServ)
{
- time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "15s");
+ time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "1m");
XLine x(c->name, OperServ->nick, Anope::CurTime + inhabit, d->reason);
IRCD->SendSQLine(NULL, &x);
}
@@ -486,7 +486,7 @@ public:
ServiceReference<ChanServService> chanserv("ChanServService", "ChanServ");
if (IRCD->CanSQLineChannel)
{
- time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "15s");
+ time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "1m");
XLine x(c->name, OperServ->nick, Anope::CurTime + inhabit, d->reason);
IRCD->SendSQLine(NULL, &x);
}