]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - bin/rbot
Fix RSS plugin problems caused by watches created before the new Irc framework
[user/henk/code/ruby/rbot.git] / bin / rbot
index 45dba848256adbd3359d623a3c4080e512815658..ce5c86bd9fb82446c17897aa8ec0bdafbf376129 100755 (executable)
--- a/bin/rbot
+++ b/bin/rbot
@@ -29,7 +29,7 @@ require 'etc'
 require 'getoptlong'
 require 'fileutils'
 
-$version="0.9.10-svn"
+$version="0.9.11-svn"
 $opts = Hash.new
 
 orig_opts = ARGV.dup
@@ -66,7 +66,7 @@ defaultlib = File.expand_path(File.dirname($0) + '/../lib')
 
 if File.directory? "#{defaultlib}/rbot"
   unless $:.include? defaultlib
-    $:.push defaultlib
+    $:.unshift defaultlib
   end
 end