mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
ctcp: remove extraneous keyword argument
private is not defined in irc.msg()
This commit is contained in:
parent
3c0809dce0
commit
5d25b3c105
@ -40,7 +40,7 @@ def handle_ctcp(irc, source, command, args):
|
|||||||
# Note, do NOT use irc.reply() in hook handlers because nothing except the
|
# Note, do NOT use irc.reply() in hook handlers because nothing except the
|
||||||
# command handler system actually updates the last caller.
|
# command handler system actually updates the last caller.
|
||||||
irc.msg(source, '\x01%s %s\x01' % (ctcp_command, result),
|
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
|
return False # Block this message from reaching the general command handler
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user