diff options
| author | 2019-05-23 16:05:41 +0100 | |
|---|---|---|
| committer | 2019-05-23 16:05:41 +0100 | |
| commit | 4b5f839231c802dad38621a340c1174f0ce48e6c (patch) | |
| tree | a9625624164f41ee7c1183a79a5554c3c367a4cd /modules/commands | |
| parent | `attempted_auth` is no longer used (diff) | |
| signature | ||
Forgot `not` so it was stripping alnum chars, not non-almun chars
Diffstat (limited to 'modules/commands')
| -rw-r--r-- | modules/commands/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index 1cc3e63a..d352c256 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -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: |
