mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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;
|
delete result;
|
||||||
|
|
||||||
|
if(i==0) // empty accounts only
|
||||||
|
{
|
||||||
|
PSendSysMessage(LANG_NO_PLAYERS_FOUND);
|
||||||
|
SetSentErrorMessage(true);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7536"
|
#define REVISION_NR "7537"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue