Merge pull request #97 from Sepero/patch-1

Fixed bug- Not recognizing nick hyphens
This commit is contained in:
Luke Rogers 2013-08-04 15:13:52 -07:00
commit e74a92e252
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ def seen(inp, nick='', chan='', db=None, input=None):
if inp.lower() == nick.lower():
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!"
if not db_ready: