From edb9a5ee6085618c954d4374934bf6ef05f01b7b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 19 Mar 2008 01:45:24 +0100 Subject: imdb plugin: use www, not us in links output to IRC --- data/rbot/plugins/imdb.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/rbot') 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] -- cgit v1.2.3