mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
[10712] Startup checks for gossip_menu and gosip_menu_option table data.
Existance `gosup_menu` id refercned from gameobject field and unused meni ids activated only with disabled LogFilter_DbStrictedCheck.
This commit is contained in:
parent
534ff29f15
commit
a87648c56b
6 changed files with 67 additions and 14 deletions
|
|
@ -512,12 +512,10 @@ bool ChatHandler::HandleServerLogFilterCommand(char* args)
|
|||
{
|
||||
if (!*args)
|
||||
{
|
||||
uint32 logfiler = sLog.getLogFilter();
|
||||
|
||||
SendSysMessage(LANG_LOG_FILTERS_STATE_HEADER);
|
||||
for(int i = 0; i < LOG_FILTER_COUNT; ++i)
|
||||
if (*logFilterData[i].name)
|
||||
PSendSysMessage(" %-20s = %s",logFilterData[i].name,(logfiler & (1 << i)) !=0 ? GetMangosString(LANG_ON) : GetMangosString(LANG_OFF));
|
||||
PSendSysMessage(" %-20s = %s",logFilterData[i].name, sLog.HasLogFilter(1 << i) ? GetMangosString(LANG_ON) : GetMangosString(LANG_OFF));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue