diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-09 11:39:03 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-09 11:43:38 +0000 |
| commit | 12486f6ceedf9b3f3ee90c72f4b61c1aef931656 (patch) | |
| tree | 6595b82274a75d15c05187460dcfa65bd58e56a8 /modules/chanserv | |
| parent | 891375baca44d1b18e60505ecf6ae52bf2c46e29 (diff) | |
Tweak the config default limits slightly.
Diffstat (limited to 'modules/chanserv')
| -rw-r--r-- | modules/chanserv/chanserv.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/cs_clone.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/cs_flags.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/cs_mode.cpp | 2 | ||||
| -rw-r--r-- | modules/chanserv/cs_xop.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
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); |
