From d500e727e027b04a3542237bbe9c4c75489427ad Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 7 Jan 2007 13:09:59 +0000 Subject: [574] still had a stupid typo --- lib/rbot/ircbot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index b49cb0a4..470bb522 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -936,7 +936,7 @@ class IrcBot else # @last_ping was not reset by a pong, so we are # in ping timeout: reconnect - diff = Time.now - @last.ping + diff = Time.now - @last_ping debug "no PONG from server in #{diff} seconds, reconnecting" # the actual reconnect is handled in the main loop: raise TimeoutError, "no PONG from server in #{diff} seconds" -- cgit v1.2.3