diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-08 16:36:26 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-08 16:36:26 +0100 |
commit | 3449fbea22b9eae423b60db80cb35950a22e81a9 (patch) | |
tree | 08dc63d7019ea07324b6c7af1b23e88e655ccbda /lib/rbot/registry.rb | |
parent | f6b6be3b0467b1880d13b89e50bdae027e7b0eb4 (diff) |
fortune plugin: fix autodetection
An empty String is not false in Ruby, so check for it properly. Also,
find_fortune needs a message passed to it, to be used when it discovers
the correct path.
Diffstat (limited to 'lib/rbot/registry.rb')
0 files changed, 0 insertions, 0 deletions