mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 12:12:53 +01:00
opercmds: fix wrong help message for KILL
This commit is contained in:
parent
d1468e932e
commit
393466498e
@ -152,9 +152,9 @@ def kick(irc, source, args):
|
|||||||
|
|
||||||
@utils.add_cmd
|
@utils.add_cmd
|
||||||
def kill(irc, source, args):
|
def kill(irc, source, args):
|
||||||
"""<source> <channel> <user> [<reason>]
|
"""<source> <target> [<reason>]
|
||||||
|
|
||||||
Admin only. Kills <user> via <source>, where <source> is either the nick of a PyLink client or the SID of a PyLink server."""
|
Admin only. Kills <target> via <source>, where <source> is either the nick of a PyLink client or the SID of a PyLink server."""
|
||||||
utils.checkAuthenticated(irc, source, allowOper=False)
|
utils.checkAuthenticated(irc, source, allowOper=False)
|
||||||
try:
|
try:
|
||||||
sourcenick = args[0]
|
sourcenick = args[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user