diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py index acf5331f..25e6dfae 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -130,7 +130,7 @@ class Module(ModuleManager.BaseModule): if not self.has_command(command): aliases = self._get_aliases(event["server"]) if command.lower() in aliases: - command, new_args = aliases[command.lower()].partition(" ") + command, _, new_args = aliases[command.lower()].partition(" ") for match in REGEX_ARG_NUMBER.finditer(new_args): index = int(match.group(1)) if index >= len(args_split): |
