summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-12-18 10:36:59 +0000
committerSadie Powell <sadie@witchery.services>2022-12-18 10:36:59 +0000
commitfee60c8e064815847662bfce9c421fc9ad7109a0 (patch)
tree9a2c46ded657bf43400518d340847c088bdfbd87 /src
parent3f867c1e11f56ff0632168ddb3fac844c60abc4f (diff)
The fantasy:name field is allowed to contain spaces.
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp2
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];