aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-15 17:54:09 -0700
committerMishio595 <[email protected]>2018-11-15 17:54:09 -0700
commitfeb2efb0032fab1e709368fc92697b918d5eb440 (patch)
treeef6e71b8fc1855a27d48ea209b6204944bf1f882
parentFix typos (diff)
downloadserenity-aliases-fix.tar.xz
serenity-aliases-fix.zip
Note to self: don't code when half-asleepaliases-fix
-rw-r--r--src/framework/standard/create_group.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/framework/standard/create_group.rs b/src/framework/standard/create_group.rs
index 2a264ec..3c14479 100644
--- a/src/framework/standard/create_group.rs
+++ b/src/framework/standard/create_group.rs
@@ -70,7 +70,7 @@ impl CreateGroup {
}
} else {
self.0.commands.insert(
- n.to_string(),
+ alias.to_string(),
CommandOrAlias::Alias(command_name.to_string()),
);
}
@@ -109,7 +109,7 @@ impl CreateGroup {
}
} else {
self.0.commands.insert(
- n.to_string(),
+ alias.to_string(),
CommandOrAlias::Alias(name.to_string()),
);
}