From 114975d05870bf45a92bcd1aed39981c87aa9504 Mon Sep 17 00:00:00 2001 From: Nathan Blaney Date: Thu, 5 Sep 2013 16:04:03 +1000 Subject: [PATCH] Added hypen support to tell For example "~tell Mu5tank05-mc hello?" --- plugins/tell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tell.py b/plugins/tell.py index bf0d887..5e54c77 100755 --- a/plugins/tell.py +++ b/plugins/tell.py @@ -95,7 +95,7 @@ def tell(inp, nick='', chan='', db=None, input=None, notice=None): notice("Thanks for the message, {}!".format(user_from)) return - if not re.match("^[A-Za-z0-9_|.-\]\[]*$", user_to.lower()): + if not re.match("^[A-Za-z0-9_|.\-\]\[]*$", user_to.lower()): notice("I cant send a message to that user!") return