[9968] Allow have reserved entries with empty names in log filters table.

This commit is contained in:
VladimirMangos 2010-05-24 00:10:06 +04:00
parent 628531933d
commit e3955bbc59
3 changed files with 7 additions and 3 deletions

View file

@ -268,7 +268,7 @@ void Log::Initialize()
m_logFilter = 0;
for(int i = 0; i < LOG_FILTER_COUNT; ++i)
if (logFilterData[i].name)
if (*logFilterData[i].name)
if (sConfig.GetBoolDefault(logFilterData[i].configName, logFilterData[i].defaultState))
m_logFilter |= (1 << i);