Fix getting new messages

This commit is contained in:
Mark Veidemanis 2021-12-29 15:04:17 +00:00
parent be46f79ef7
commit c7f4230a91
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class Agora(object):
if send_irc:
if reference in self.last_messages:
if not len(self.last_messages[reference]) == len(messages_tmp):
difference = set(messages_tmp) ^ self.last_messages[reference]
difference = set(messages_tmp) ^ set(self.last_messages[reference])
for x in difference:
self.irc.client.msg(self.irc.client.channel, f"AUTO {reference}: {x}")
else: