diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-12 22:31:15 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-12 22:31:15 +0000 |
commit | 6f5528a63b44e610a3d25d7fe583399163d7d2da (patch) | |
tree | 0db7c1642d40bd68a85338f4cdbb87a03f5e7747 /data/rbot/plugins/delicious.rb | |
parent | 8efdfd2651a720e0dc1681e716d0a23b0429e4fd (diff) |
namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*
Diffstat (limited to 'data/rbot/plugins/delicious.rb')
-rw-r--r-- | data/rbot/plugins/delicious.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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="") |