TrinityIrcChat: Fix crash in ticket close command.