diff options
author | Sadie Powell <sadie@witchery.services> | 2022-12-18 10:36:59 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-12-18 10:36:59 +0000 |
commit | fee60c8e064815847662bfce9c421fc9ad7109a0 (patch) | |
tree | 9a2c46ded657bf43400518d340847c088bdfbd87 /src | |
parent | 3f867c1e11f56ff0632168ddb3fac844c60abc4f (diff) |
The fantasy:name field is allowed to contain spaces.
Diffstat (limited to 'src')
-rw-r--r-- | src/config.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index a3981e7c8..83134f238 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -472,7 +472,7 @@ Conf::Conf() : Block("") bool hide = fantasy->Get<bool>("hide"), prepend_channel = fantasy->Get<bool>("prepend_channel", "yes"); - ValidateNotEmptyOrSpaces("fantasy", "name", nname); + ValidateNotEmpty("fantasy", "name", nname); ValidateNotEmptyOrSpaces("fantasy", "command", service); CommandInfo &c = this->Fantasy[nname]; |