]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/config.rb
try that maybe
[user/henk/code/ruby/rbot.git] / lib / rbot / config.rb
index 383cef962e2196857923e153fda96921e21bcca0..36160875139472b36332c14c15c2b93b61c6cf26 100644 (file)
@@ -4,13 +4,11 @@ module Irc
   require 'rbot/messagemapper'
 
   unless YAML.respond_to?(:load_file)
-    module YAML
       def YAML.load_file( filepath )
         File.open( filepath ) do |f|
-          load( f )
+          YAML::load( f )
         end
       end
-    end
   end
 
   class BotConfigValue