summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-08-16 16:05:33 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-08-16 16:06:47 +0200
commitc9074f4cab24c624ec1bb43d6b98880416205282 (patch)
tree633312e41dd283a65a356ae79872bc09694e5ffc /lib/rbot
parente51cc13bc8cf22227580f09c3e03fc776549a4a9 (diff)
Suppress warnings about unitialized variables
hangman: an unneeded letters accessor was defined ircbot: restore initializations removed by previous commit
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/ircbot.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 6c8d6332..8b4dbaeb 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -468,6 +468,11 @@ class Bot
exit 2
end
+ # Time at which the last PING was sent
+ @last_ping = nil
+ # Time at which the last line was RECV'd from the server
+ @last_rec = nil
+
@startup_time = Time.new
begin