]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit
url plugin: urls info should work regardless of config
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 27 Jan 2009 01:14:33 +0000 (02:14 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 27 Jan 2009 01:14:33 +0000 (02:14 +0100)
commit0203a872d0f167c5905fc445d173f19efdd73842
tree6b898801a939034253dabec236bec18934bcc1ab
parent6faf07c4cc86fbb4f3c07b3c0ef3136f477e9371
url plugin: urls info should work regardless of config

The 'urls info' command to manually query for link information should
always work, regardless of the setting of the url.only_on_channels
config setting.

Fix by making the channels list for handle_urls() into an option
(defaulting to url.only_on_channels) and passing an empty list from
info().
data/rbot/plugins/url.rb