3
0
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:
James Lu 2017-03-27 14:59:33 -07:00
parent 55873416a1
commit ff0eda1fba

View File

@ -101,7 +101,7 @@ def remote(irc, source, args):
# Override the source option to make sure the source is valid on the local network.
if 'source' in kwargs:
del kwargs['source']
irc.reply(text, **kwargs, source=irc.pseudoclient.uid)
irc.reply(text, source=irc.pseudoclient.uid, **kwargs)
old_reply = remoteirc.reply