Fixing typos.

This commit is contained in:
Fletcher Boyd 2013-09-05 07:51:42 +08:00
parent 5a8b2c2825
commit bc1062e8d6

View file

@ -165,17 +165,17 @@ def unmute(inp, conn=None, chan=None, notice=None):
mode_cmd_no_target("-m", "unmute", inp, chan, conn, notice) mode_cmd_no_target("-m", "unmute", inp, chan, conn, notice)
@hook.command(permissions=["op_mute", "op"], autohelp=False) @hook.command(permissions=["op_lock", "op"], autohelp=False)
def mute(inp, conn=None, chan=None, notice=None): def lock(inp, conn=None, chan=None, notice=None):
"""mute [channel] -- Makes the bot mute a channel.. """lock [channel] -- Makes the bot lock a channel.
If [channel] is blank the bot will mute If [channel] is blank the bot will mute
the channel the command was used in.""" the channel the command was used in."""
mode_cmd_no_target("+i", "lock", inp, chan, conn, notice) mode_cmd_no_target("+i", "lock", inp, chan, conn, notice)
@hook.command(permissions=["op_mute", "op"], autohelp=False) @hook.command(permissions=["op_lock", "op"], autohelp=False)
def unmute(inp, conn=None, chan=None, notice=None): def unlock(inp, conn=None, chan=None, notice=None):
"""mute [channel] -- Makes the bot mute a channel.. """unlock [channel] -- Makes the bot unlock a channel..
If [channel] is blank the bot will mute If [channel] is blank the bot will mute
the channel the command was used in.""" the channel the command was used in."""
mode_cmd_no_target("-i", "unlock", inp, chan, conn, notice) mode_cmd_no_target("-i", "unlock", inp, chan, conn, notice)