summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-08-07 16:46:45 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-08-07 16:46:45 +0000
commitb50352520924d5e7a912a03719d5935f74e498d4 (patch)
treefffb033d15acaabdb4cf85815d8034c092be1eab /lib/rbot
parentff881f2c7ef7f1fd4bd905120603dd6c871b7d29 (diff)
try that maybe
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/config.rb4
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