summaryrefslogtreecommitdiff
path: root/lib/rbot/load-gettext.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-28 14:51:21 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-28 15:03:35 +0100
commit78978a4654ad851b0fa18bcd3d165b9c173f0375 (patch)
treeb9e865f08c9dee1487e048f3dd1dfe930b6e418f /lib/rbot/load-gettext.rb
parent2a2144addbcb717b983dd18f993f276cc8bd4ef8 (diff)
ircbot: the reconnect must be protected
The reconnect() call in the main loop must be protected in the begin/rescue blocks. Most of the rescue blocks can be fall-through, because the begin/end is wrapped in a loop. The only exception is the ServerError block that issues a retry lest too_fast is reset to false even when it should be true.
Diffstat (limited to 'lib/rbot/load-gettext.rb')
0 files changed, 0 insertions, 0 deletions