aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-03-29 18:11:26 +0200
committerjackpoz <giacomopoz@gmail.com>2015-03-29 18:11:26 +0200
commitbe9294dc098029c62003d3e19e0c2a29a7c738f7 (patch)
tree55ccc8245e146483b5c910f253cd9d35ea7fa263 /src
parentc386711972260aa7b877cdc8cb49d24576ce1902 (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).
Diffstat (limited to 'src')
-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;
}