mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 19:14:09 +01:00
Web: Remove leading space if the prefix is empty.
This commit is contained in:
parent
143cd9d506
commit
dc2068deca
@ -225,7 +225,10 @@ class Web(callbacks.PluginRegexp):
|
||||
channel, network)
|
||||
else url)
|
||||
prefix = self.registryValue('snarferPrefix', channel, network)
|
||||
s = "%s %s" % (prefix, title)
|
||||
if prefix:
|
||||
s = "%s %s" % (prefix, title)
|
||||
else:
|
||||
s = title
|
||||
if self.registryValue('snarferShowDomain', channel, network):
|
||||
s += format(_(' (at %s)'), domain)
|
||||
irc.reply(s, prefixNick=False)
|
||||
|
Loading…
Reference in New Issue
Block a user