]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - bin/rbot
Fix the "list" function. Now counts the pages correctly.
[user/henk/code/ruby/rbot.git] / bin / rbot
index 8921eeb81e93f8e67428196048f641a8dec6ec79..ce5c86bd9fb82446c17897aa8ec0bdafbf376129 100755 (executable)
--- a/bin/rbot
+++ b/bin/rbot
@@ -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