]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/core/basics.rb
Fix help (one more time)
[user/henk/code/ruby/rbot.git] / lib / rbot / core / basics.rb
index f6b07e01f2a6bc1b5e53ce17781947201f8d74b5..4c18037e15e236217cbb9dedc238c9fadbbcf257 100644 (file)
@@ -90,8 +90,8 @@ class BasicsModule < CoreBotModule
   #   @bot.say m.replyto, @lang.get("hello_X") % m.sourcenick\r
 \r
   # handle help requests for "core" topics\r
-  def help(plugin, topic="")\r
-    case topic\r
+  def help(cmd, topic="")\r
+    case cmd\r
     when "quit"\r
       return "quit [<message>] => quit IRC with message <message>"\r
     when "restart"\r