Slight bugfix.

This commit is contained in:
Jeremy Fincher 2004-06-26 20:29:55 +00:00
parent dae0db1de5
commit d9d8c04e24

View File

@ -219,7 +219,9 @@ class Http(callbacks.Privmsg):
html = webutils.getUrl(url) html = webutils.getUrl(url)
m = self._cyborgRe.search(html) m = self._cyborgRe.search(html)
if m: if m:
irc.reply(m.group(1)) s = m.group(1)
s = utils.normalizeWhitespace(s)
irc.reply(s)
else: else:
irc.errorPossibleBug('No cyborg name returned.') irc.errorPossibleBug('No cyborg name returned.')