diff --git a/src/server.cpp b/src/server.cpp index e9b236c..08813f7 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3905,12 +3905,25 @@ void Server::fillMediaCache() if(dirlist[j].dir) // Ignode dirs continue; std::string filename = dirlist[j].name; - // if name contains illegal characters, ignore the file + // If name contains illegal characters, ignore the file if(!string_allowed(filename, TEXTURENAME_ALLOWED_CHARS)){ - errorstream<<"Server: ignoring illegal file name: \"" + infostream<<"Server: ignoring illegal file name: \"" <