]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/configreader.cpp
Shrink users properly on quit, and make cloaks for all existing users on load, for...
[user/henk/code/inspircd.git] / src / configreader.cpp
index cce362ed2553e03eabd03ad61bafc57cbf5cd444..8f50e0762a06cd8a0920c41c289b7e090ccc98fd 100644 (file)
@@ -362,10 +362,10 @@ bool ValidateMotd(ServerConfig* conf, const char*, const char*, ValueItem &data)
        return true;
 }
 
-bool ValidateNotEmpty(ServerConfig*, const char* tag, const char*, ValueItem &data)
+bool ValidateNotEmpty(ServerConfig*, const char* tag, const char* val, ValueItem &data)
 {
        if (!*data.GetString())
-               throw CoreException(std::string("The value for ")+tag+" cannot be empty!");
+               throw CoreException(std::string("The value for <")+tag+":"+val+"> cannot be empty!");
        return true;
 }