diff --git a/plugins/Web/config.py b/plugins/Web/config.py index 666e2c036..d488d0d82 100644 --- a/plugins/Web/config.py +++ b/plugins/Web/config.py @@ -63,7 +63,7 @@ conf.registerChannelValue(Web, 'snarferShowTargetDomain', by the snarfer will be the original one (posted on IRC) or the target one (got after following redirects, if any)."""))) conf.registerChannelValue(Web, 'snarferPrefix', - registry.String(_('Title: '), _("""Determines the string used at before + registry.String(_('Title:'), _("""Determines the string used at before a web page's title."""))) conf.registerChannelValue(Web, 'nonSnarfingRegexp', registry.Regexp(None, _("""Determines what URLs matching the given regexp diff --git a/plugins/Web/plugin.py b/plugins/Web/plugin.py index bff102d70..6f85f2af7 100644 --- a/plugins/Web/plugin.py +++ b/plugins/Web/plugin.py @@ -200,7 +200,7 @@ class Web(callbacks.PluginRegexp): if self.registryValue('snarferShowTargetDomain', channel) else url) prefix = self.registryValue('snarferPrefix', channel) - s = prefix + title + s = "%s %s" % (prefix, title) if self.registryValue('snarferShowDomain', channel): s += format(_(' (at %s)'), domain) irc.reply(s, prefixNick=False)