Pluralization bug.

This commit is contained in:
Jeremy Fincher 2004-12-20 06:22:21 +00:00
parent dd572f56ea
commit afcb951e9b

View File

@ -97,7 +97,7 @@ class Praise(plugins.ChannelIdDatabasePlugin):
else: else:
praise = self.db.random(channel) praise = self.db.random(channel)
if not praise: if not praise:
irc.error('There are no praise in my database for %s.' %channel) irc.error('There are no praises in my database for %s.'%channel)
return return
text = self._replaceFirstPerson(praise.text, msg.nick) text = self._replaceFirstPerson(praise.text, msg.nick)
reason = self._replaceFirstPerson(reason, msg.nick) reason = self._replaceFirstPerson(reason, msg.nick)