mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
plugin/Praise: Don't rstrip '.'. People can learn not to end their praise with a '.'.
This commit is contained in:
parent
5c59539145
commit
f917ffdc49
@ -77,8 +77,6 @@ class Praise(plugins.ChannelIdDatabasePlugin):
|
|||||||
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)
|
||||||
if target.endswith('.'):
|
|
||||||
target = target.rstrip('.')
|
|
||||||
target = self._replaceFirstPerson(target, msg.nick)
|
target = self._replaceFirstPerson(target, msg.nick)
|
||||||
text = text.replace('$who', target)
|
text = text.replace('$who', target)
|
||||||
if reason:
|
if reason:
|
||||||
|
Loading…
Reference in New Issue
Block a user