callbacks: Fix py 3.4 support

This commit is contained in:
Valentin Lorentz 2021-03-31 20:26:41 +02:00
parent d452a7051c
commit b030a7bb76

View File

@ -1083,8 +1083,9 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
chunk = '%s %s' % (chunk, n)
if is_instant and not is_first:
msgs.append(_makeReply(self, msg, chunk, **{
**replyArgs, "prefixNick": False}))
d = replyArgs.copy()
d['prefixNick'] = False
msgs.append(_makeReply(self, msg, chunk, **d))
else:
msgs.append(_makeReply(self, msg, chunk, **replyArgs))