mirror of
https://github.com/anope/anope.git
synced 2026-06-25 04:56:39 +02:00
Fix setting BSDefFlags from the config
This commit is contained in:
@@ -82,7 +82,7 @@ botserv
|
||||
*
|
||||
* This directive is optional, if left blank, there will be no defaults.
|
||||
*/
|
||||
defaults="greet fantasy"
|
||||
defaults = "greet fantasy"
|
||||
|
||||
/*
|
||||
* The minimum number of users there must be in a channel before the bot joins it. The best
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ ServerConfig::ServerConfig()
|
||||
spacesepstream options(BSDefaults);
|
||||
Anope::string option;
|
||||
while (options.GetToken(option))
|
||||
this->BSDefFlags.insert(option.upper());
|
||||
this->BSDefFlags.insert("BS_" + option.upper());
|
||||
}
|
||||
|
||||
/* Ulines */
|
||||
|
||||
Reference in New Issue
Block a user