Actually return function hook from _shutdown_hook (admin.py)

This commit is contained in:
jesopo 2019-02-11 10:09:39 +00:00
parent e644888e3e
commit 18bb7ec4af

View file

@ -103,3 +103,4 @@ class Module(ModuleManager.BaseModule):
def shutdown(): def shutdown():
server.disconnect() server.disconnect()
self.bot.disconnect(server) self.bot.disconnect(server)
return shutdown