From fee60c8e064815847662bfce9c421fc9ad7109a0 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 18 Dec 2022 10:36:59 +0000 Subject: [PATCH] The fantasy:name field is allowed to contain spaces. --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("hide"), prepend_channel = fantasy->Get("prepend_channel", "yes"); - ValidateNotEmptyOrSpaces("fantasy", "name", nname); + ValidateNotEmpty("fantasy", "name", nname); ValidateNotEmptyOrSpaces("fantasy", "command", service); CommandInfo &c = this->Fantasy[nname];