diff options
-rw-r--r-- | lib/nickserver/config.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nickserver/config.rb b/lib/nickserver/config.rb index 0f44b79..46b6bef 100644 --- a/lib/nickserver/config.rb +++ b/lib/nickserver/config.rb @@ -42,12 +42,12 @@ module Nickserver if @hkp_ca_file # look for the hkp_ca_file either by absolute path or relative to nickserver gem root [@hkp_ca_file, File.expand_path(@hkp_ca_file, "#{__FILE__}/../../../")].each do |file| - if File.exists?(file) + if File.exist?(file) @hkp_ca_file = file break end end - unless File.exists?(@hkp_ca_file) + unless File.exist?(@hkp_ca_file) STDERR.puts "ERROR in configuration: cannot find hkp_ca_file `#{@hkp_ca_file}`" exit(1) end |