Fix invalid references

This commit is contained in:
dave 2015-10-31 13:55:10 -07:00
parent 5830ed1059
commit 80d99a8cb0
1 changed files with 2 additions and 2 deletions

View File

@ -80,10 +80,10 @@ class PyIRCBot:
def connection_closed(self, args, prefix, trailing): def connection_closed(self, args, prefix, trailing):
"""Called when the socket is disconnected. We will want to reconnect. """ """Called when the socket is disconnected. We will want to reconnect. """
if self.alive: if self.irc.alive:
self.log.warning("Connection was lost. Reconnecting in 5 seconds.") self.log.warning("Connection was lost. Reconnecting in 5 seconds.")
time.sleep(5) time.sleep(5)
self._connect() self.connect()
def initModules(self): def initModules(self):
"""load modules specified in instance config""" """load modules specified in instance config"""