From 091f2872b35037ba2d7102ab2bdb7efac5a34652 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 9 Apr 2003 16:55:25 +0000 Subject: [PATCH] Fixed the unallowed dashes and underscores in command names. --- src/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callbacks.py b/src/callbacks.py index c28034f16..c7d29ca95 100644 --- a/src/callbacks.py +++ b/src/callbacks.py @@ -364,7 +364,7 @@ class Privmsg(irclib.IrcCallback): funcname = f.im_func.func_name debug.msg('%s took %s seconds' % (funcname, elapsed), 'verbose') - _r = re.compile(r'^(\w+)') + _r = re.compile(r'^([\w-_]+)') def doPrivmsg(self, irc, msg): s = addressed(irc.nick, msg) #debug.printf('Privmsg.doPrivmsg: s == %r' % s)