mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fix for that RSS bug thing that mgoldey had (and subsequently, Evil_Lyra had).
This commit is contained in:
parent
225c565aee
commit
cba61a9dfe
@ -167,7 +167,7 @@ class RSS(callbacks.Privmsg):
|
||||
|
||||
def buildHeadlines(self, headlines, channel, config='announce.showLinks'):
|
||||
newheadlines = []
|
||||
if self.registryValue('%s' % config, channel):
|
||||
if self.registryValue(config, channel):
|
||||
for headline in headlines:
|
||||
if headline[1]:
|
||||
newheadlines.append('%s <%s>' % headline)
|
||||
@ -210,8 +210,8 @@ class RSS(callbacks.Privmsg):
|
||||
if bold:
|
||||
pre = ircutils.bold(pre)
|
||||
sep = ircutils.bold(sep)
|
||||
newheadlines = self.buildHeadlines(newheadlines, channel)
|
||||
irc.replies(newheadlines, prefixer=pre, joiner=sep,
|
||||
headlines = self.buildHeadlines(newheadlines, channel)
|
||||
irc.replies(headlines, prefixer=pre, joiner=sep,
|
||||
to=channel, prefixName=False, private=True)
|
||||
finally:
|
||||
self.releaseLock(url)
|
||||
|
Loading…
Reference in New Issue
Block a user