From b50352520924d5e7a912a03719d5935f74e498d4 Mon Sep 17 00:00:00 2001 From: Tom Gilbert Date: Sun, 7 Aug 2005 16:46:45 +0000 Subject: try that maybe --- lib/rbot/config.rb | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3