aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Level2.cpp7
1 files changed, 7 insertions, 0 deletions
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;
}