]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/dice.rb
factoids plugin: 'facts about' searches whole words, 'facts search' uses regular...
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / dice.rb
index ab40aa28e6d07184a08bdc5c04e8a7e8e21c724d..2cf49675e86967b57b43f0f4802ac388607a3a50 100644 (file)
@@ -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.")