Fixed stupid regexp.

This commit is contained in:
Jeremy Fincher 2003-04-09 17:19:06 +00:00
parent 1bc77baebe
commit 59b6a7b67d

View File

@ -364,7 +364,7 @@ class Privmsg(irclib.IrcCallback):
funcname = f.im_func.func_name funcname = f.im_func.func_name
debug.msg('%s took %s seconds' % (funcname, elapsed), 'verbose') debug.msg('%s took %s seconds' % (funcname, elapsed), 'verbose')
_r = re.compile(r'^([\w-_]+)') _r = re.compile(r'^([\w_-]+)')
def doPrivmsg(self, irc, msg): def doPrivmsg(self, irc, msg):
s = addressed(irc.nick, msg) s = addressed(irc.nick, msg)
#debug.printf('Privmsg.doPrivmsg: s == %r' % s) #debug.printf('Privmsg.doPrivmsg: s == %r' % s)