git://git.furryclan.net
/
furrycat
/
catbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61ec7c
)
Only announce the same system once in a channel.
author
CMDR furrycat
<elite@furrycat.net>
Wed, 23 Aug 2017 06:50:59 +0000
(07:50 +0100)
committer
CMDR furrycat
<elite@furrycat.net>
Wed, 23 Aug 2017 06:50:59 +0000
(07:50 +0100)
plugin/faction/faction.py
patch
|
blob
|
history
diff --git
a/plugin/faction/faction.py
b/plugin/faction/faction.py
index
b4e0ed5
..
6e98bfc
100644
(file)
--- a/
plugin/faction/faction.py
+++ b/
plugin/faction/faction.py
@@
-1051,8
+1051,8
@@
class Faction(DBConnection):
else:
channel = client.get_channel(tracked.newsflash_channel_id)
if channel is not None:
- channels = announce.get(system,
[]
)
- channels.a
ppen
d(channel)
+ channels = announce.get(system,
set()
)
+ channels.a
d
d(channel)
announce[system] = channels
async def update_factions(self, system, factions, iso8601):