[7537] Command .lookup player will report in case found accounts/ip but without existed characters.

This commit is contained in:
VladimirMangos 2009-03-25 01:55:56 +03:00
parent 53af93111b
commit 3b3144004a
2 changed files with 8 additions and 1 deletions

View file

@ -4316,6 +4316,13 @@ bool ChatHandler::LookupPlayerSearchCommand(QueryResult* result, int32 limit)
delete result;
if(i==0) // empty accounts only
{
PSendSysMessage(LANG_NO_PLAYERS_FOUND);
SetSentErrorMessage(true);
return false;
}
return true;
}