From 28fc9f1f15b36083c2ed943a88fe738ac84cc7fc Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 4 Dec 2017 21:19:34 +0100 Subject: [PATCH] [rssnotify] Fix my incompetence --- rssnotify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rssnotify.py b/rssnotify.py index b3d9a66..1659b1e 100755 --- a/rssnotify.py +++ b/rssnotify.py @@ -32,7 +32,7 @@ def to_unix_time(tstr): ts += int(g[3]) * 60 return ts -def resolve_channels(l): +def resolve_channels(phenny, l): ret = set() for entry in l: sign = 1 @@ -128,7 +128,7 @@ class RssNotify(): committer_final = f_clong % (committer, committer_realname) return f_all % (committer_final, repo_name, commit_text, commit_hash, commit_link, commit_time) def _announce(self, phenny, message, chans): - chans = resolve_channels(chans) + chans = resolve_channels(phenny, chans) for ch in chans: phenny.write(['PRIVMSG', ch], message)