use bot.die() over bot.disconnect()
This commit is contained in:
parent
14e5fb4d6f
commit
438ab414ff
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue