Core/LFG: Restore ".lfg queue" command argument handling

Port From (https://github.com/TrinityCore/TrinityCore/commit/0441f3ea5ebf0b9fd31f2e46cf862a74ecd0411a)
This commit is contained in:
hondacrx
2022-06-08 17:33:31 -04:00
parent 69ffcfc8df
commit 65bcb653b0
+3 -2
View File
@@ -21,6 +21,7 @@ using Framework.IO;
using Game.DungeonFinding;
using Game.Entities;
using Game.Groups;
using System;
namespace Game.Chat
{
@@ -102,9 +103,9 @@ namespace Game.Chat
}
[Command("queue", RBACPermissions.CommandLfgQueue, true)]
static bool HandleLfgQueueInfoCommand(CommandHandler handler, bool full)
static bool HandleLfgQueueInfoCommand(CommandHandler handler, string full)
{
handler.SendSysMessage(Global.LFGMgr.DumpQueueInfo(full));
handler.SendSysMessage(Global.LFGMgr.DumpQueueInfo(!full.IsEmpty()));
return true;
}