mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Made the initial log message better.
This commit is contained in:
parent
4786631c6c
commit
38cf55ebce
@ -122,9 +122,11 @@ class SocketDriver(drivers.IrcDriver):
|
||||
self._sendIfMsgs()
|
||||
|
||||
def reconnect(self, wait=False):
|
||||
log.info('Reconnect called on driver for %s.' % self.irc)
|
||||
if self.connected:
|
||||
log.info('Reconnect called on driver for %s.' % self.irc)
|
||||
self.conn.close()
|
||||
else:
|
||||
log.info('Connecting to %s.' % ':'.join(map(str, self.server)))
|
||||
self.connected = False
|
||||
if wait:
|
||||
log.info('Reconnect waiting.')
|
||||
|
Loading…
Reference in New Issue
Block a user