fix(Script/Commands): ticket response append crash (#23357)
This commit is contained in:
parent
1b7b3b3a16
commit
0a55aed5e4
1 changed files with 8 additions and 2 deletions
|
|
@ -467,12 +467,18 @@ public:
|
|||
|
||||
static bool HandleGMTicketResponseAppendCommand(ChatHandler* handler, uint32 ticketId, Tail res)
|
||||
{
|
||||
return TicketResponseAppend(ticketId, false, handler, res.data());
|
||||
if (res.empty())
|
||||
return false;
|
||||
else
|
||||
return TicketResponseAppend(ticketId, false, handler, res.data());
|
||||
}
|
||||
|
||||
static bool HandleGMTicketResponseAppendLnCommand(ChatHandler* handler, uint32 ticketId, Tail res)
|
||||
{
|
||||
return TicketResponseAppend(ticketId, true, handler, res.data());
|
||||
if (res.empty())
|
||||
return false;
|
||||
else
|
||||
return TicketResponseAppend(ticketId, true, handler, res.data());
|
||||
}
|
||||
|
||||
static bool HandleGMTicketResponseDeleteCommand(ChatHandler* handler, uint32 ticketId)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue