use the timewindow settings for HTTP commands
This commit is contained in:
parent
bf53e8249c
commit
730d2f239e
1 changed files with 2 additions and 1 deletions
|
|
@ -304,7 +304,8 @@ namespace SecondBotEvents.Services
|
|||
}
|
||||
SignedCommand C = new(
|
||||
master.CommandsService,"http",
|
||||
commandName, signing, myArgs, cmdUnixtime, null, true, 5, master.CommandsService.myConfig.GetSharedSecret());
|
||||
commandName, signing, myArgs, cmdUnixtime, null,true, master.CommandsService.myConfig.GetTimeWindowSecs(),
|
||||
master.CommandsService.myConfig.GetSharedSecret());
|
||||
if(C.accepted == false)
|
||||
{
|
||||
return "Command request rejected";
|
||||
|
|
|
|||
Loading…
Reference in a new issue