mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
bugfixes/enhancements
prevent users from trying to set the console's level to owner fix issue with setting multiple owners update/improve unit tests
This commit is contained in:
@ -177,8 +177,6 @@ namespace IW4MAdmin
|
||||
await command.ExecuteAsync(E);
|
||||
}
|
||||
|
||||
|
||||
|
||||
var pluginTasks = Manager.Plugins.Where(_plugin => _plugin.Name != "Login").Select(async _plugin =>
|
||||
{
|
||||
try
|
||||
@ -202,7 +200,10 @@ namespace IW4MAdmin
|
||||
}
|
||||
});
|
||||
|
||||
await Task.WhenAny(pluginTasks);
|
||||
if (pluginTasks.Count() > 0)
|
||||
{
|
||||
await Task.WhenAny(pluginTasks);
|
||||
}
|
||||
}
|
||||
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user