]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/fish.rb
fix minor warnings from figlet and imdb plugins
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / fish.rb
index 140c95704b2cb1a904c1aa7bf0eb034a68453eb5..dcd4a0e3928f505856d10896c5b02faccc8da637 100644 (file)
@@ -31,7 +31,7 @@ class BabelPlugin < Plugin
       return
     end
 
-    data_text = URI.escape trans_text
+    data_text = CGI.escape trans_text
     trans_pair = "#{trans_from}_#{trans_to}"
 
     if (trans_text =~ /^http:\/\//) && (URI.parse(trans_text) rescue nil)