1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

make database seed code less verbose

disable killserver command
fix issue with default parser not saving during setup
fix issue with unban reason displayed when player is rebanned
This commit is contained in:
RaidMax
2019-04-28 20:54:11 -05:00
parent 1e729cf193
commit 68b1e61846
6 changed files with 16 additions and 27 deletions

View File

@ -1135,12 +1135,12 @@ namespace SharedLibraryCore.Commands
public override async Task ExecuteAsync(GameEvent E)
{
if (E.Owner.ServerConfig.ManualLogPath != null)
if (E.Owner.ServerConfig.GameLogServerUrl != null)
{
using (var wc = new WebClient())
{
E.Owner.RestartRequested = true;
var response = await wc.DownloadStringTaskAsync(new Uri($"{E.Owner.ServerConfig.ManualLogPath}/restart"));
var response = await wc.DownloadStringTaskAsync(new Uri($"{E.Owner.ServerConfig.GameLogServerUrl}/restart"));
}
}