summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-01 17:32:37 +0000
committerSadie Powell <sadie@witchery.services>2024-01-01 17:32:37 +0000
commiteb2aaf22ed927d0de7bbc739103e49eb0586b323 (patch)
treec34effc003d00c4c04b00809e5b2f961294f8e73
parentaca9d300640361a9abfca80c1b6d07a02cf93be2 (diff)
Fix a copy/paste error in the default channel settings.
-rw-r--r--data/chanserv.example.conf4
-rw-r--r--modules/pseudoclients/chanserv.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index cce4456ac..bba989708 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -93,8 +93,8 @@ module
* to be a registered nick, otherwise the channel will be dropped.
* - none: No defaults
*
- * This directive is optional, if left blank, the options will default to keeptopic, cs_secure, securefounder,
- * and signkick. If you really want no defaults, use "none" by itself as the option.
+ * This directive is optional, if left blank, the options will default to keeptopic, peace, cs_secure,
+ * securefounder, and signkick. If you really want no defaults, use "none" by itself as the option.
*/
defaults = "keeptopic peace cs_secure securefounder signkick"
diff --git a/modules/pseudoclients/chanserv.cpp b/modules/pseudoclients/chanserv.cpp
index 0809a25b3..b720247f9 100644
--- a/modules/pseudoclients/chanserv.cpp
+++ b/modules/pseudoclients/chanserv.cpp
@@ -109,10 +109,11 @@ class ChanServCore : public Module, public ChanServService
ChanServ = bi;
- spacesepstream(conf->GetModule(this)->Get<const Anope::string>("defaults", "greet fantasy")).GetTokens(defaults);
+ spacesepstream(conf->GetModule(this)->Get<const Anope::string>("defaults", "keeptopic peace cs_secure securefounder signkick")).GetTokens(defaults);
if (defaults.empty())
{
defaults.push_back("KEEPTOPIC");
+ defaults.push_back("PEACE");
defaults.push_back("CS_SECURE");
defaults.push_back("SECUREFOUNDER");
defaults.push_back("SIGNKICK");