]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/imdb.rb
dice plugin: apply OddBloke's display patch from #143, with minor space tweaks
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / imdb.rb
index 240ded86303cfb35420bc2b1d37dee588ee09d9d..0464ba3ae4b009d2627a5850742d68ff9f9edb43 100644 (file)
@@ -32,7 +32,7 @@ class Imdb
   end
 
   def search(rawstr, rawopts={})
-    str = URI.escape(rawstr)
+    str = CGI.escape(rawstr)
     str << ";site=aka" if @bot.config['imdb.aka']
     opts = rawopts.dup
     opts[:type] = :both unless opts[:type]