]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
quotes plugin: fix help
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 19 Jun 2008 23:55:31 +0000 (01:55 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 19 Jun 2008 23:55:31 +0000 (01:55 +0200)
data/rbot/plugins/quotes.rb

index b3cf49cd5dcdef356c0055ad8083f0bc045ec015..e3dc98443826b63c4ce5c06d8c57333cd712a172 100644 (file)
@@ -120,7 +120,7 @@ class QuotePlugin < Plugin
   end
 
   def help(plugin, topic="")
-    case topic
+    case plugin
     when "addquote"
       _("addquote [<channel>] <quote> => Add quote <quote> for channel <channel>. You only need to supply <channel> if you are addressing %{nick} privately.") % { :nick => @bot.nick }
     when "delquote"