From feb2efb0032fab1e709368fc92697b918d5eb440 Mon Sep 17 00:00:00 2001 From: Mishio595 Date: Thu, 15 Nov 2018 17:54:09 -0700 Subject: Note to self: don't code when half-asleep --- src/framework/standard/create_group.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/framework') 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()), ); } -- cgit v1.2.3