fix(Script/Commands): ticket response append crash (#23357)

This commit is contained in:
Kitzunu
2025-10-24 15:50:11 +02:00
committed by GitHub
parent 1b7b3b3a16
commit 0a55aed5e4

View File

@@ -467,11 +467,17 @@ public:
static bool HandleGMTicketResponseAppendCommand(ChatHandler* handler, uint32 ticketId, Tail res)
{
if (res.empty())
return false;
else
return TicketResponseAppend(ticketId, false, handler, res.data());
}
static bool HandleGMTicketResponseAppendLnCommand(ChatHandler* handler, uint32 ticketId, Tail res)
{
if (res.empty())
return false;
else
return TicketResponseAppend(ticketId, true, handler, res.data());
}