diff options
-rw-r--r-- | lib/mauve/notifiers/xmpp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb index 029e4fc..38d7242 100644 --- a/lib/mauve/notifiers/xmpp.rb +++ b/lib/mauve/notifiers/xmpp.rb @@ -449,7 +449,7 @@ module Mauve when /ack/i do_parse_ack(msg) else - "Sorry. I don't understand. Try asking me for help" + File.executable?('/usr/games/fortune') ? `/usr/games/fortune -s -n 60`.chomp : "Sorry. I don't understand. Try asking me for help." end end |