From: Giuseppe Bilotta Date: Wed, 19 Mar 2008 00:45:24 +0000 (+0100) Subject: imdb plugin: use www, not us in links output to IRC X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=edb9a5ee6085618c954d4374934bf6ef05f01b7b;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git imdb plugin: use www, not us in links output to IRC --- diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 5ed5a66f..2fde6cb1 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -153,7 +153,7 @@ class Imdb country = data.ircify_html.gsub(' / ','/') end - info << [title, "(#{country}, #{date})", extra, dir ? "[#{dir}]" : nil, opts[:nourl] ? nil : ": http://us.imdb.com#{sr}"].compact.join(" ") + info << [title, "(#{country}, #{date})", extra, dir ? "[#{dir}]" : nil, opts[:nourl] ? nil : ": http://www.imdb.com#{sr}"].compact.join(" ") return info if opts[:title_only] @@ -206,7 +206,7 @@ class Imdb name = m[1] info << "#{name}" - info << " : http://us.imdb.com#{sr}" unless opts[:nourl] + info << " : http://www.imdb.com#{sr}" unless opts[:nourl] return info if opts[:name_only]