mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
networks: flip **kwargs position to fix Python 3.4 support
Reported by @koaxirc.
This commit is contained in:
parent
55873416a1
commit
ff0eda1fba
@ -101,7 +101,7 @@ def remote(irc, source, args):
|
|||||||
# Override the source option to make sure the source is valid on the local network.
|
# Override the source option to make sure the source is valid on the local network.
|
||||||
if 'source' in kwargs:
|
if 'source' in kwargs:
|
||||||
del kwargs['source']
|
del kwargs['source']
|
||||||
irc.reply(text, **kwargs, source=irc.pseudoclient.uid)
|
irc.reply(text, source=irc.pseudoclient.uid, **kwargs)
|
||||||
|
|
||||||
old_reply = remoteirc.reply
|
old_reply = remoteirc.reply
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user