make '.q add @person blah' possible
This commit is contained in:
parent
1005537e63
commit
e5b623cb68
|
@ -40,7 +40,7 @@ def quote(inp, nick='', chan='', db=None):
|
|||
"primary key (chan, nick, msg))")
|
||||
db.commit()
|
||||
|
||||
add = re.match(r"add\W+(\S+?)>?\s+(.*)", inp, re.I)
|
||||
add = re.match(r"add[^\w@]+(\S+?)>?\s+(.*)", inp, re.I)
|
||||
retrieve = re.match(r"(\S+)(?:\s+#?(-?\d+))?$", inp)
|
||||
|
||||
if add:
|
||||
|
|
Loading…
Reference in New Issue