summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-19 01:45:24 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-19 14:49:49 +0100
commitedb9a5ee6085618c954d4374934bf6ef05f01b7b (patch)
tree9aab07c6a5b68b1e8b355b19261577391657f4d4
parent37b6e68426dbe8812b47ae5bcdadf0fb5df76e26 (diff)
imdb plugin: use www, not us in links output to IRC
-rw-r--r--data/rbot/plugins/imdb.rb4
1 files changed, 2 insertions, 2 deletions
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]