diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/ircbot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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" |