summaryrefslogtreecommitdiff
path: root/bin/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-08 16:36:26 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-08 16:36:26 +0100
commit3449fbea22b9eae423b60db80cb35950a22e81a9 (patch)
tree08dc63d7019ea07324b6c7af1b23e88e655ccbda /bin/rbot
parentf6b6be3b0467b1880d13b89e50bdae027e7b0eb4 (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 'bin/rbot')
0 files changed, 0 insertions, 0 deletions