diff options
-rw-r--r-- | lib/rbot/config.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rbot/config.rb b/lib/rbot/config.rb index 383cef96..36160875 100644 --- a/lib/rbot/config.rb +++ b/lib/rbot/config.rb @@ -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 |