X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fbash.rb;h=0524204a4f2ef549fe7d06d6b0090647f2e341b8;hb=9a565bfd48c59ac9c1b37d5afe9b8640889632ff;hp=cb33a4d48353076c75c66a3d9610b0681fc5158c;hpb=d432b9e11936eebb379c6f589879dd8d40ac7163;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/bash.rb b/data/rbot/plugins/bash.rb index cb33a4d4..0524204a 100644 --- a/data/rbot/plugins/bash.rb +++ b/data/rbot/plugins/bash.rb @@ -57,7 +57,7 @@ end class BashPlugin < Plugin - BotConfig.register BotConfigEnumValue.new('bash.access', + Config.register Config::EnumValue.new('bash.access', :values => ['xml', 'html'], :default => 'html', :desc => "Which method the bot should use to access bash.org quotes: xml files or standard webpages")