X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fdelicious.rb;h=61ba0091a0e33df87d6cd14693c826e880a308c7;hb=51c35168127e0faed56bceb3f5103f92ed31478c;hp=bf678303e89ab5d016c6fae8c38d79aee9eb58eb;hpb=aa3d839c2106489f52ee4eba09b51ff444caacad;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/delicious.rb b/data/rbot/plugins/delicious.rb index bf678303..61ba0091 100644 --- a/data/rbot/plugins/delicious.rb +++ b/data/rbot/plugins/delicious.rb @@ -18,13 +18,13 @@ class DeliciousPlugin < Plugin attr_accessor :last_error - BotConfig.register BotConfigStringValue.new('delicious.user', + Config.register Config::StringValue.new('delicious.user', :default => '', :desc => "Username on del.icio.us") - BotConfig.register BotConfigStringValue.new('delicious.password', + Config.register Config::StringValue.new('delicious.password', :default => '', :desc => "Password on del.icio.us") - BotConfig.register BotConfigStringValue.new('delicious.user_fmt', + Config.register Config::StringValue.new('delicious.user_fmt', :default => 'user:%s', :desc => "How to convert users to tags?") - BotConfig.register BotConfigStringValue.new('delicious.channel_fmt', + Config.register Config::StringValue.new('delicious.channel_fmt', :default => 'channel:%s', :desc => "How to convert channels to tags?") def help(plugin, topic="")