mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +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
|
||||
else:
|
||||
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()
|
||||
else:
|
||||
self.prefix = prefix
|
||||
|
Loading…
Reference in New Issue
Block a user