diff options
| author | acdenisSK <[email protected]> | 2017-08-18 00:38:11 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-08-18 00:38:55 +0200 |
| commit | e7a5ba3e6c7e914c952408828f0cc71e15acea61 (patch) | |
| tree | 8c3a5490b15c8b18759ffbeb159887ae7b1e42db /src/framework | |
| parent | Expande CheckFailed to provide Arc<Command>(#138) (diff) | |
| download | serenity-e7a5ba3e6c7e914c952408828f0cc71e15acea61.tar.xz serenity-e7a5ba3e6c7e914c952408828f0cc71e15acea61.zip | |
Fix args when `use_quotes` is true
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/mod.rs b/src/framework/mod.rs index 3c89649..8a621b2 100644 --- a/src/framework/mod.rs +++ b/src/framework/mod.rs @@ -940,7 +940,7 @@ impl ::Framework for BuiltinFramework { content = content[command_length..].trim(); if command.use_quotes { - utils::parse_quotes(&content[command_length..]) + utils::parse_quotes(content) } else { let delimiters = &self.configuration.delimiters; let regular_expression = delimiters.iter() |