summaryrefslogtreecommitdiff
path: root/lib/rbot/rbotconfig.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/rbotconfig.rb')
-rw-r--r--lib/rbot/rbotconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/rbotconfig.rb b/lib/rbot/rbotconfig.rb
index de716169..212df990 100644
--- a/lib/rbot/rbotconfig.rb
+++ b/lib/rbot/rbotconfig.rb
@@ -39,7 +39,7 @@ module Irc
require 'rbot/pkgconfig'
@@datadir = PKGConfig::DATADIR
rescue LoadError
- puts "fatal - no way to determine data dir"
+ error "fatal - no way to determine data dir"
exit 2
end
end