Update Core.cs

This commit is contained in:
Madpeterz 2021-02-12 02:58:12 +00:00
parent be1e274175
commit 87badce8dd

View file

@ -312,7 +312,7 @@ namespace BetterSecondBot.HttpService
string cooked = helpers.GetSHA1(raw + config.Security_SignedCommandkey); string cooked = helpers.GetSHA1(raw + config.Security_SignedCommandkey);
if (cooked == data.AuthCode) if (cooked == data.AuthCode)
{ {
bool status = bot.GetCommandsInterface.Call(data.Command, compressedArgs, UUID.Zero, "~#~"); bool status = bot.GetCommandsInterface.Call(data.Command.ToLowerInvariant(), compressedArgs, UUID.Zero, "~#~");
if (status == true) if (status == true)
{ {
return BasicReply("accepted"); return BasicReply("accepted");