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 plugin
|
||||||
del sys.modules[path]
|
del sys.modules[path]
|
||||||
|
|
||||||
self.disconnect("Shutting down...")
|
self.die(msg="Shutting down...")
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
|
|
||||||
class Channel(object):
|
class Channel(object):
|
||||||
|
|
Loading…
Reference in New Issue