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 \
|
conf.supybot.protocols.irc.ping() and \
|
||||||
now > self.lastping + conf.supybot.protocols.irc.ping.interval():
|
now > self.lastping + conf.supybot.protocols.irc.ping.interval():
|
||||||
if self.outstandingPing:
|
if self.outstandingPing:
|
||||||
s = 'Reconnecting to %s, ping not replied to.' % self.server
|
log.warning('Ping sent at %s not replied to.',
|
||||||
log.warning(s)
|
log.timestamp(self.lastping))
|
||||||
self.driver.reconnect()
|
self.driver.reconnect()
|
||||||
self.reset()
|
|
||||||
else:
|
else:
|
||||||
self.lastping = now
|
self.lastping = now
|
||||||
now = str(int(now))
|
now = str(int(now))
|
||||||
|
Loading…
Reference in New Issue
Block a user