summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/dice.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/dice.rb
parent8efdfd2651a720e0dc1681e716d0a23b0429e4fd (diff)
namespaces: move rbot-specific classes and modules from Irc::* to Irc::Bot::*
Diffstat (limited to 'data/rbot/plugins/dice.rb')
-rw-r--r--data/rbot/plugins/dice.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/dice.rb b/data/rbot/plugins/dice.rb
index ab40aa28..2cf49675 100644
--- a/data/rbot/plugins/dice.rb
+++ b/data/rbot/plugins/dice.rb
@@ -34,7 +34,7 @@ class DiceDisplay
end
class DicePlugin < Plugin
- BotConfig.register BotConfigIntegerValue.new('dice.max_dices',
+ Config.register Config::IntegerValue.new('dice.max_dices',
:default => 100, :validate => Proc.new{|v| v > 0},
:desc => "Maximum number of dices to throw.")