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:
praise = self.db.random(channel)
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
text = self._replaceFirstPerson(praise.text, msg.nick)
reason = self._replaceFirstPerson(reason, msg.nick)