<Strike|work@oftc> I like the extraneous '.' on the end of the factoids.

This commit is contained in:
Jeremy Fincher 2003-09-03 20:29:04 +00:00
parent f719009e1d
commit d0b7d5906f

View File

@ -179,10 +179,10 @@ class Factoids(ChannelDBHandler, callbacks.Privmsg):
counter += 1
totalResults = len(factoids)
if ircutils.shrinkList(factoids, ', or ', 400):
s = '%s could be %s. (%s results shown out of %s)' % \
s = '%s could be %s (%s results shown out of %s)' % \
(key, ', or '.join(factoids), counter-1, totalResults)
else:
s = '%s could be %s.' % (key, ', or '.join(factoids))
s = '%s could be %s' % (key, ', or '.join(factoids))
irc.reply(msg, s)
def lock(self, irc, msg, args):