mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Fixed the unallowed dashes and underscores in command names.
This commit is contained in:
parent
c849eda6ce
commit
091f2872b3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user