use bot.die() over bot.disconnect()

This commit is contained in:
Brian S. Stephan 2015-05-12 22:33:39 -05:00
parent 14e5fb4d6f
commit 438ab414ff
1 changed files with 1 additions and 2 deletions

View File

@ -492,8 +492,7 @@ class IRCBot(irc.client.SimpleIRCClient):
del plugin
del sys.modules[path]
self.disconnect("Shutting down...")
sys.exit()
self.die(msg="Shutting down...")
class Channel(object):