From dfd1254dcb524adec0419ba1a84f1f4817f90d88 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Tue, 6 Sep 2011 16:01:08 +0100 Subject: Fixed RangeError bug. --- lib/mauve/notifiers/xmpp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mauve/notifiers') diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb index faeefb0..9cc5ab5 100644 --- a/lib/mauve/notifiers/xmpp.rb +++ b/lib/mauve/notifiers/xmpp.rb @@ -563,7 +563,7 @@ EOF begin ack_until = Time.now.in_x_hours(n_hours, type_hours) - rescue => RangeError + rescue RangeError return "I'm sorry, you tried to acknowedge for far too long, and my buffers overflowed!" end -- cgit v1.2.1