disabled_plugins now disables plugins!

This commit is contained in:
Luke Rogers 2013-10-15 14:59:45 +13:00
parent 436e1bddde
commit c0991ffc05
3 changed files with 9 additions and 7 deletions

View file

@ -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])