mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7537] Command .lookup player will report in case found accounts/ip but without existed characters.
This commit is contained in:
parent
53af93111b
commit
3b3144004a
2 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue