Age | Commit message (Collapse) | Author |
|
|
|
|
|
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.
|
|
Instead of hardcoding the fortune categories path, ask fortune itself
to report which categories you can get the quotes from.
This fixes the fortune plugin on Gentoo for instance where the
databases are installed in /usr/share/fortune rather than
/usr/games/share/fortune.
|
|
|
|
|
|
|
|
* Nicer merging of the lines into a single line
* Ability to list fortune files
* /usr/bin/fortune is the first place it looks now
Need to fix:
* Barfs when one of the potential executable paths is a directory
|
|
When empty, the bot will try to autodetect it. If autodetection is successfull, the path found will be stored in fortune.path
|
|
|