Core/LFG: Restore ".lfg queue" command argument handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/0441f3ea5ebf0b9fd31f2e46cf862a74ecd0411a)
This commit is contained in:
@@ -21,6 +21,7 @@ using Framework.IO;
|
|||||||
using Game.DungeonFinding;
|
using Game.DungeonFinding;
|
||||||
using Game.Entities;
|
using Game.Entities;
|
||||||
using Game.Groups;
|
using Game.Groups;
|
||||||
|
using System;
|
||||||
|
|
||||||
namespace Game.Chat
|
namespace Game.Chat
|
||||||
{
|
{
|
||||||
@@ -102,9 +103,9 @@ namespace Game.Chat
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Command("queue", RBACPermissions.CommandLfgQueue, true)]
|
[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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user