Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the split more forgiving in the "report" chat command
In situations where multiple spaces exist after the URL(s) and before the custom reason, the first element of "argsraw" might have trailing space(s). This change uses string.split()'s behavior with sep=None to regard runs of consecutive whitespace as a single separator (https://docs.python.org/3.3/library/stdtypes.html#str.split). This change also allows for multiple spaces between multiple URLs.
- Loading branch information