mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Added a dot.
This commit is contained in:
parent
9d7c1a64c2
commit
8039679883
@ -169,7 +169,7 @@ class News(plugins.ChannelDBHandler, callbacks.Privmsg):
|
|||||||
WHERE news.expires_at > %s
|
WHERE news.expires_at > %s
|
||||||
OR news.expires_at=0""", int(time.time()))
|
OR news.expires_at=0""", int(time.time()))
|
||||||
if cursor.rowcount == 0:
|
if cursor.rowcount == 0:
|
||||||
irc.reply('No news for %s' % channel)
|
irc.reply('No news for %s.' % channel)
|
||||||
else:
|
else:
|
||||||
items = ['(#%s) %s' % (id, s) for (id, s) in cursor.fetchall()]
|
items = ['(#%s) %s' % (id, s) for (id, s) in cursor.fetchall()]
|
||||||
s = 'News for %s: %s' % (channel, '; '.join(items))
|
s = 'News for %s: %s' % (channel, '; '.join(items))
|
||||||
|
Loading…
Reference in New Issue
Block a user