diff options
-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 d16b0583..8e265541 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -330,10 +330,10 @@ class IrcBot # begin event handling loop def mainloop while true + begin connect @timer.start - begin while true if @socket.select break unless reply = @socket.gets |