Fix previous commit.

This commit is contained in:
Valentin Lorentz 2014-04-18 07:16:02 +00:00
parent cab4cb5059
commit 65aed8f7ed
1 changed files with 3 additions and 1 deletions

View File

@ -128,8 +128,10 @@ class IrcMsg(object):
self.args = msg.args
if reply_env:
self.reply_env = reply_env
else:
elif msg.reply_env:
self.reply_env = msg.reply_env.copy()
else:
self.reply_env = None
self.tags = msg.tags.copy()
else:
self.prefix = prefix