]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
imdb plugin: fix author output broken by [37b6e68426dbe8812b47ae5bcdadf0fb5df76e26]
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 23 Mar 2008 21:07:46 +0000 (22:07 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 23 Mar 2008 21:07:46 +0000 (22:07 +0100)
data/rbot/plugins/imdb.rb

index 2fde6cb1e1e77ab9621966104d4b224d60c815e9..0a878c7516f8e112506bdc817ffd3958b1097cac 100644 (file)
@@ -206,7 +206,7 @@ class Imdb
       name = m[1]
 
       info << "#{name}"
-      info << " : http://www.imdb.com#{sr}" unless opts[:nourl]
+      info.last << " : http://www.imdb.com#{sr}" unless opts[:nourl]
 
       return info if opts[:name_only]