From bb063b80648413fbbd837381ac36934514a30d5e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 7 May 2020 18:34:58 +0200 Subject: [PATCH] Check server_tags in IrcMsg.__eq__. --- src/ircmsgs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ircmsgs.py b/src/ircmsgs.py index c687e8cc7..f1000c155 100644 --- a/src/ircmsgs.py +++ b/src/ircmsgs.py @@ -258,7 +258,8 @@ class IrcMsg(object): hash(self) == hash(other) and \ self.command == other.command and \ self.prefix == other.prefix and \ - self.args == other.args + self.args == other.args and \ + self.server_tags == other.server_tags __req__ = __eq__ # I don't know exactly what this does, but it can't hurt. def __ne__(self, other):