plugin/Praise: Don't rstrip '.'. People can learn not to end their praise with a '.'.

This commit is contained in:
James Vega 2005-11-15 16:05:31 +00:00
parent 5c59539145
commit f917ffdc49

View File

@ -77,8 +77,6 @@ class Praise(plugins.ChannelIdDatabasePlugin):
return
text = self._replaceFirstPerson(praise.text, msg.nick)
reason = self._replaceFirstPerson(reason, msg.nick)
if target.endswith('.'):
target = target.rstrip('.')
target = self._replaceFirstPerson(target, msg.nick)
text = text.replace('$who', target)
if reason: