]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/roulette.rb
factoids plugin: don't be too verbose when learning facts
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / roulette.rb
index 7c25a6cc39389fe36071b45e65e93022b1f879c0..adf755fdaa7a8f9bf97cc3eba71359689b6715e0 100644 (file)
@@ -1,13 +1,13 @@
 define_structure :RouletteHistory, :games, :shots, :deaths, :misses, :wins
 
 class RoulettePlugin < Plugin
-  BotConfig.register BotConfigBooleanValue.new('roulette.autospin',
+  Config.register Config::BooleanValue.new('roulette.autospin',
     :default => true, 
     :desc => "Automatically spins the roulette at the butlast shot")
-  BotConfig.register BotConfigBooleanValue.new('roulette.kick',
+  Config.register Config::BooleanValue.new('roulette.kick',
     :default => false, 
     :desc => "Kicks shot players from the channel")
-  BotConfig.register BotConfigBooleanValue.new('roulette.twice_in_a_row',
+  Config.register Config::BooleanValue.new('roulette.twice_in_a_row',
     :default => false, 
     :desc => "Allow players to go twice in a row")