Small fix in plugins/help.py

This commit is contained in:
lukeroge 2012-02-21 11:48:21 +13:00
parent bb622efcd8
commit b72e2d3fde

View file

@ -4,7 +4,7 @@ from util import hook
# Standard automatic help command
@hook.command(autohelp=False)
def help(inp, input=None, bot=None, say=None, notice=None):
def help_new(inp, input=None, bot=None, say=None, notice=None):
".help -- gives a list of commands/help for a command"
funcs = {}
@ -42,9 +42,6 @@ def help(inp, input=None, bot=None, say=None, notice=None):
notice("For help, do '.help example' where example is the " +
"name of the command you want help for.")
else:
if inp in commands:
input.say(commands[inp].__doc__)
notice(commands[inp].__doc__)