[7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
e42e348d33
commit
f40773a24d
2 files changed
+15
-1
No files matched your search
@@ -4240,6 +4240,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user