Fixed bug- Not recognizing hyphens
This commit is contained in:
parent
ba6c2ae2c8
commit
6bd692f34a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def seen(inp, nick='', chan='', db=None, input=None):
|
||||||
if inp.lower() == nick.lower():
|
if inp.lower() == nick.lower():
|
||||||
return "Have you looked in a mirror lately?"
|
return "Have you looked in a mirror lately?"
|
||||||
|
|
||||||
if not re.match("^[A-Za-z0-9_|.-\]\[]*$", inp.lower()):
|
if not re.match("^[A-Za-z0-9_|.\-\]\[]*$", inp.lower()):
|
||||||
return "I can't look up that name, its impossible to use!"
|
return "I can't look up that name, its impossible to use!"
|
||||||
|
|
||||||
if not db_ready:
|
if not db_ready:
|
||||||
|
|
Reference in a new issue