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:
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user