Added hypen support to tell
For example "~tell Mu5tank05-mc hello?"
This commit is contained in:
parent
6b3b4fc562
commit
114975d058
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue