disabled_plugins now disables plugins!
This commit is contained in:
parent
436e1bddde
commit
c0991ffc05
3 changed files with 9 additions and 7 deletions
|
@ -147,8 +147,8 @@ class Bot(object):
|
|||
self.loader.stop()
|
||||
self.logger.debug("Stopping plugin loader.")
|
||||
|
||||
for name, connection in self.connections.iteritems():
|
||||
self.logger.debug("({}) Closing connection.".format(name))
|
||||
for connection in self.connections:
|
||||
self.logger.debug("({}) Closing connection.".format(connection.name))
|
||||
|
||||
if reason:
|
||||
connection.cmd("QUIT", [reason])
|
||||
|
|
Reference in a new issue