From 65bcb653b0ca3bc15e457f16b762e27984235fa9 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 8 Jun 2022 17:33:31 -0400 Subject: [PATCH] Core/LFG: Restore ".lfg queue" command argument handling Port From (https://github.com/TrinityCore/TrinityCore/commit/0441f3ea5ebf0b9fd31f2e46cf862a74ecd0411a) --- Source/Game/Chat/Commands/LFGCommands.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Game/Chat/Commands/LFGCommands.cs b/Source/Game/Chat/Commands/LFGCommands.cs index 1c3841313..9535adc68 100644 --- a/Source/Game/Chat/Commands/LFGCommands.cs +++ b/Source/Game/Chat/Commands/LFGCommands.cs @@ -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; }