summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-10-13 15:37:44 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-10-13 15:37:44 +0000
commit8b0e2e09f81a7d89ceb52e947e9db12a206a8c37 (patch)
tree9ad17bf9e5597226c3e9db2ec3b95425e30974ab /lib
parentd5257757e7cbe3067ba3befb8ea98dd9cd3f5c54 (diff)
various outstanding changes
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index ddc53d98..89037255 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -599,6 +599,8 @@ class IrcBot
debug "no PONG from server for #{diff} seconds, reconnecting"
begin
@socket.shutdown
+ # TODO
+ # raise an exception to get back to the mainloop
rescue
debug "couldn't shutdown connection (already shutdown?)"
end