3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 03:33:10 +01:00

ctcp: remove extraneous keyword argument

private is not defined in irc.msg()
This commit is contained in:
James Lu 2018-02-25 14:29:19 -05:00
parent 3c0809dce0
commit 5d25b3c105

View File

@ -40,7 +40,7 @@ def handle_ctcp(irc, source, command, args):
# Note, do NOT use irc.reply() in hook handlers because nothing except the
# command handler system actually updates the last caller.
irc.msg(source, '\x01%s %s\x01' % (ctcp_command, result),
notice=True, private=True, source=target)
notice=True, source=target)
return False # Block this message from reaching the general command handler
else: