Fixed bug- Not recognizing hyphens

This commit is contained in:
Sepero 2013-08-04 16:27:00 -04:00
parent ba6c2ae2c8
commit 6bd692f34a

View file

@ -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: