Changed \x02...\x0F to an ircutils.bold.

This commit is contained in:
Jeremy Fincher 2003-12-06 13:26:00 +00:00
parent a36f81e158
commit d06418633c

View File

@ -159,7 +159,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp, configurable.Mixin):
title = utils.htmlToText(result.title.encode('utf-8')) title = utils.htmlToText(result.title.encode('utf-8'))
url = result.URL url = result.URL
if title: if title:
results.append('\x02%s\x0F: <%s>' % (title, url)) results.append('%s: <%s>' % (ircutils.bold(title), url))
else: else:
results.append(url) results.append(url)
if not results: if not results: