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];