DrBotIRC: properly debug log welcome events

my git surgery failed me
This commit is contained in:
Brian S. Stephan 2012-12-19 00:09:28 -06:00
parent 2d98804823
commit a10e54bcc8
1 changed files with 2 additions and 2 deletions

View File

@ -138,10 +138,10 @@ class DrBotServerConnection(irclib.ServerConnection):
"""
log.debug("welcome: {0:s}".format(what))
what = event.arguments()[0]
log.debug("welcome: {0:s}".format(what))
match = re.search('(\S+!\S+@\S+)', what)
if match:
self.nickmask = match.group(1)