mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-02 07:59:32 +01:00
Web: add trailing space for snarferPrefix at runtime
Before, the trailing space in the default snarferPrefix value disappears after a reload because spaces at the end of config lines are ignored.
This commit is contained in:
parent
9374c1fee0
commit
2242aadde9
@ -200,7 +200,7 @@ class Web(callbacks.PluginRegexp):
|
|||||||
if self.registryValue('snarferShowTargetDomain', channel)
|
if self.registryValue('snarferShowTargetDomain', channel)
|
||||||
else url)
|
else url)
|
||||||
prefix = self.registryValue('snarferPrefix', channel)
|
prefix = self.registryValue('snarferPrefix', channel)
|
||||||
s = prefix + title
|
s = "%s %s" % (prefix, title)
|
||||||
if self.registryValue('snarferShowDomain', channel):
|
if self.registryValue('snarferShowDomain', channel):
|
||||||
s += format(_(' (at %s)'), domain)
|
s += format(_(' (at %s)'), domain)
|
||||||
irc.reply(s, prefixNick=False)
|
irc.reply(s, prefixNick=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user