fixed TeaSpeak server crash

This commit is contained in:
WolverinDEV 2019-10-13 20:26:12 +02:00
parent 228bde912a
commit faadb1ff19

View File

@ -34,9 +34,8 @@ namespace logger {
lock_guard lock(loggerLock);
if(loggers.count(group) > 0) return loggers[group];
//Create a new logger
if(group > 0){
if(group != 0 && group != -1)
logger(0)->debug("Creating new grouped logger for group {}", group);
}
vector<spdlog::sink_ptr> sinks;
string path;