mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
Unnecessary reset, changed logging message.
This commit is contained in:
parent
b0931ea0ec
commit
243456aedd
@ -688,10 +688,9 @@ class Irc(IrcCommandDispatcher):
|
||||
conf.supybot.protocols.irc.ping() and \
|
||||
now > self.lastping + conf.supybot.protocols.irc.ping.interval():
|
||||
if self.outstandingPing:
|
||||
s = 'Reconnecting to %s, ping not replied to.' % self.server
|
||||
log.warning(s)
|
||||
log.warning('Ping sent at %s not replied to.',
|
||||
log.timestamp(self.lastping))
|
||||
self.driver.reconnect()
|
||||
self.reset()
|
||||
else:
|
||||
self.lastping = now
|
||||
now = str(int(now))
|
||||
|
Loading…
Reference in New Issue
Block a user