Fix getting new messages
This commit is contained in:
parent
be46f79ef7
commit
c7f4230a91
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue