summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/ircsocket.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbot/ircsocket.rb b/lib/rbot/ircsocket.rb
index dcc501a3..c1bc3611 100644
--- a/lib/rbot/ircsocket.rb
+++ b/lib/rbot/ircsocket.rb
@@ -462,6 +462,7 @@ module Irc
end
rescue Exception => e
error "Spooling failed: #{e.pretty_inspect}"
+ raise e
end
end
end
@@ -499,6 +500,7 @@ module Irc
@rawsock = nil if @ssl
@sock = nil
@burst = 0
+ @sendq.clear
end
private