From 6bd692f34ac805e8e3e8e8624d2f39d2c2998e9a Mon Sep 17 00:00:00 2001 From: Sepero Date: Sun, 4 Aug 2013 16:27:00 -0400 Subject: [PATCH] Fixed bug- Not recognizing hyphens --- plugins/seen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/seen.py b/plugins/seen.py index 3ebd410..95762f4 100755 --- a/plugins/seen.py +++ b/plugins/seen.py @@ -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: