summaryrefslogtreecommitdiff
path: root/bin/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rbot')
-rwxr-xr-xbin/rbot5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/rbot b/bin/rbot
index dcc8bba4..674f235f 100755
--- a/bin/rbot
+++ b/bin/rbot
@@ -98,6 +98,11 @@ rescue LoadError => e
exit 2
end
+# ruby 1.9 specific fixes
+unless RUBY_VERSION < '1.9'
+ require 'rbot/compat19'
+end
+
if ($opts["version"])
puts "rbot #{$version}"
exit 0