mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Pluralization bug.
This commit is contained in:
parent
dd572f56ea
commit
afcb951e9b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user