]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/ri.rb
lastfm: require num parameter for lastfm action to be an integer
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / ri.rb
index 1c4cc84d4edb9b0336d33c32cf0fecf012c40820..763dd6589c44b79e68c59c17cfc3da2c9f76003c 100644 (file)
@@ -16,7 +16,7 @@ class RiPlugin < Plugin
 
   RI_COMMAND = %w{ri -f simple -T}
 
-  BotConfig.register BotConfigIntegerValue.new('ri.max_length',
+  Config.register Config::IntegerValue.new('ri.max_length',
     :default => 512,
     :desc => "Maximum length of ri entry (in bytes) which is ok to be sent to channels or other users")