From d5c480da62d35988b685342e644f19a653259346 Mon Sep 17 00:00:00 2001 From: Finite Reality Date: Sat, 30 Jul 2016 21:39:07 +0100 Subject: [PATCH] Fix small typo --- src/Discord.Net.Commands/Command.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/Command.cs b/src/Discord.Net.Commands/Command.cs index 5dcb8788a..95f2a2c52 100644 --- a/src/Discord.Net.Commands/Command.cs +++ b/src/Discord.Net.Commands/Command.cs @@ -95,7 +95,7 @@ namespace Discord.Commands if (reader == null && underlyingTypeInfo.IsEnum) { - reader = EnumTypeReader.GetReader(type); + reader = EnumTypeReader.GetReader(underlyingType); Module.Service.AddTypeReader(type, reader); }