mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 23:54:07 +01:00
Copy the reply_env when copying an IrcMsg object.
This commit is contained in:
parent
30cc4804eb
commit
cab4cb5059
@ -126,6 +126,10 @@ class IrcMsg(object):
|
|||||||
self.args = args
|
self.args = args
|
||||||
else:
|
else:
|
||||||
self.args = msg.args
|
self.args = msg.args
|
||||||
|
if reply_env:
|
||||||
|
self.reply_env = reply_env
|
||||||
|
else:
|
||||||
|
self.reply_env = msg.reply_env.copy()
|
||||||
self.tags = msg.tags.copy()
|
self.tags = msg.tags.copy()
|
||||||
else:
|
else:
|
||||||
self.prefix = prefix
|
self.prefix = prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user