Update CommandsService.cs
This commit is contained in:
parent
2d30c3ce55
commit
7bd12cdc51
1 changed files with 1 additions and 0 deletions
|
|
@ -388,6 +388,7 @@ namespace SecondBotEvents.Services
|
||||||
raw += unixtimeOfCommand.ToString();
|
raw += unixtimeOfCommand.ToString();
|
||||||
}
|
}
|
||||||
raw += secret;
|
raw += secret;
|
||||||
|
LogFormater.Info("raw="+raw);
|
||||||
string cooked = SecondbotHelpers.GetSHA1(raw);
|
string cooked = SecondbotHelpers.GetSHA1(raw);
|
||||||
if (cooked != signingCode)
|
if (cooked != signingCode)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue