summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/ircbot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb
index 695b7170..76541882 100644
--- a/lib/rbot/ircbot.rb
+++ b/lib/rbot/ircbot.rb
@@ -984,8 +984,8 @@ class Bot
def mainloop
while true
too_fast = false
+ quit_msg = nil
begin
- quit_msg = nil
reconnect(quit_msg, too_fast)
quit if $interrupted > 0
while @socket.connected?