Forgot not
so it was stripping alnum chars, not non-almun chars
This commit is contained in:
parent
f0230eb001
commit
4b5f839231
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ REGEX_ARG_NUMBER = re.compile(r"\$(\d+)(-?)")
|
|||
|
||||
MSGID_TAG = utils.irc.MessageTag("msgid", "draft/msgid")
|
||||
|
||||
NON_ALPHANUMERIC = [char for char in string.printable if char.isalnum()]
|
||||
NON_ALPHANUMERIC = [char for char in string.printable if not char.isalnum()]
|
||||
|
||||
def _command_method_validate(s):
|
||||
if s.upper() in COMMAND_METHODS:
|
||||
|
|
Loading…
Reference in a new issue