1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 01:43:13 +02:00

Fix a copy/paste error in the default channel settings.

This commit is contained in:
Sadie Powell
2024-01-01 17:32:37 +00:00
parent aca9d30064
commit eb2aaf22ed
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -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"
+2 -1
View File
@@ -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");