[9761] Restore .list object output.

No reason have different command output in chat and console
just because need fix crash.
This commit is contained in:
VladimirMangos 2010-04-18 17:44:56 +04:00
parent 73475d0dc0
commit d7acc13d09
8 changed files with 15 additions and 7 deletions

View file

@ -2572,7 +2572,7 @@ bool ChatHandler::HandleListObjectCommand(const char* args)
int mapid = fields[4].GetUInt16();
if (m_session)
PSendSysMessage(LANG_GO_LIST_CHAT, guid, gInfo->id, guid, gInfo->name, x, y, z, mapid);
PSendSysMessage(LANG_GO_LIST_CHAT, guid, guid, gInfo->name, x, y, z, mapid);
else
PSendSysMessage(LANG_GO_LIST_CONSOLE, guid, gInfo->name, x, y, z, mapid);
} while (result->NextRow());