summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/salut.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-12 22:31:15 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-12 22:31:15 +0000
commit6f5528a63b44e610a3d25d7fe583399163d7d2da (patch)
tree0db7c1642d40bd68a85338f4cdbb87a03f5e7747 /data/rbot/plugins/salut.rb
parent8efdfd2651a720e0dc1681e716d0a23b0429e4fd (diff)
namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*
Diffstat (limited to 'data/rbot/plugins/salut.rb')
-rw-r--r--data/rbot/plugins/salut.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/salut.rb b/data/rbot/plugins/salut.rb
index feff2dd6..2948b2f3 100644
--- a/data/rbot/plugins/salut.rb
+++ b/data/rbot/plugins/salut.rb
@@ -14,12 +14,12 @@
# TODO:: *REMEMBER* to set @changed to true after edit or changes won't be saved
class SalutPlugin < Plugin
- BotConfig.register BotConfigBooleanValue.new('salut.all_languages',
+ Config.register Config::BooleanValue.new('salut.all_languages',
:default => true,
:desc => "Check for a salutation in all languages and not just in the one defined by core.language",
:on_change => Proc.new {|bot, v| bot.plugins['salut'].reload}
)
- BotConfig.register BotConfigBooleanValue.new('salut.address_only',
+ Config.register Config::BooleanValue.new('salut.address_only',
:default => true,
:desc => "When set to true, the bot will only reply to salutations directed at him",
:on_change => Proc.new {|bot, v| bot.plugins['salut'].reload}