From f40773a24df8a000a757fa163cf33359eb67d835 Mon Sep 17 00:00:00 2001 From: megamage Date: Tue, 24 Mar 2009 17:44:47 -0600 Subject: [7537] Command .lookup player will report in case found accounts/ip but without existed characters. Author: VladimirMangos --HG-- branch : trunk --- src/game/Level2.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index a9c27a719e3..b8c861b697f 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -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; } -- cgit v1.2.3