aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifiers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mauve/notifiers')
-rw-r--r--lib/mauve/notifiers/xmpp.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb
index a0ad86e..b291442 100644
--- a/lib/mauve/notifiers/xmpp.rb
+++ b/lib/mauve/notifiers/xmpp.rb
@@ -604,7 +604,10 @@ EOF
end
begin
- ack_until = Time.now.in_x_hours(n_hours, type_hours)
+ now = Time.now
+ now.bank_holidays = Server.instance.bank_holidays
+
+ ack_until = now.in_x_hours(n_hours, type_hours)
rescue RangeError
return "I'm sorry, you tried to acknowedge for far too long, and my buffers overflowed!"
end