aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-03-29 18:11:26 +0200
committerDDuarte <dnpd.dd@gmail.com>2015-04-14 01:01:04 +0100
commit0f251d4d5173698d7205e517f63b9d15f3d0a978 (patch)
treebab1b7aa351a2201083b03f5608f4faef1f06b9a
parent717a989e7f3707a38b5206bb8e7abba173128d26 (diff)
Core/Dungeon Finder: Restore ".lfg queue debug" logging additional information
Restore ".lfg queue" behavior to print additional debug informations when an additional argument is passed (any character/word will work). (cherry picked from commit be9294dc098029c62003d3e19e0c2a29a7c738f7)
-rw-r--r--src/server/scripts/Commands/cs_lfg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Commands/cs_lfg.cpp b/src/server/scripts/Commands/cs_lfg.cpp
index 308a841df2a..31e1b69115f 100644
--- a/src/server/scripts/Commands/cs_lfg.cpp
+++ b/src/server/scripts/Commands/cs_lfg.cpp
@@ -118,7 +118,7 @@ public:
static bool HandleLfgQueueInfoCommand(ChatHandler* handler, char const* args)
{
- handler->SendSysMessage(sLFGMgr->DumpQueueInfo(atoi(args) != 0).c_str());
+ handler->SendSysMessage(sLFGMgr->DumpQueueInfo(*args != '\0').c_str());
return true;
}