[V3 Report] Remove outdated reference to tunnel.close() (#1856)

This commit is contained in:
Michael H 2018-06-11 08:16:41 -04:00 committed by Tobotimus
parent 31612aae4a
commit bfd6e4af3f

View File

@ -358,7 +358,6 @@ class Reports:
m = await tun.communicate(message=ctx.message, topic=topic, skip_message_content=True) m = await tun.communicate(message=ctx.message, topic=topic, skip_message_content=True)
except discord.Forbidden: except discord.Forbidden:
await ctx.send(_("User has disabled DMs.")) await ctx.send(_("User has disabled DMs."))
tun.close()
else: else:
self.tunnel_store[(guild, ticket_number)] = {"tun": tun, "msgs": m} self.tunnel_store[(guild, ticket_number)] = {"tun": tun, "msgs": m}
await ctx.send(big_topic.format(who=_("You have"), ticketnum=ticket_number)) await ctx.send(big_topic.format(who=_("You have"), ticketnum=ticket_number))