fix bug in listener load logging

pull/20/head
Mallory Hancock 2018-01-10 14:56:46 -08:00
parent 268f4b3f8d
commit 8036610663
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class Bot(irc.bot.SingleServerIRCBot):
self.logger.debug('adding command {}'.format(cmd['cmd'])) self.logger.debug('adding command {}'.format(cmd['cmd']))
self.cmds[cmd['cmd']] = cmd['func'] self.cmds[cmd['cmd']] = cmd['func']
for lstnr in pinhook.plugin.lstnrs: for lstnr in pinhook.plugin.lstnrs:
self.logger.debug('adding listener {}'.format(lstnr['lisn'])) self.logger.debug('adding listener {}'.format(lstnr['lstn']))
self.lstnrs[lstnr['lstn']] = lstnr['func'] self.lstnrs[lstnr['lstn']] = lstnr['func']
def on_welcome(self, c, e): def on_welcome(self, c, e):