mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
fix issue with CS:GO connector
This commit is contained in:
@ -104,7 +104,7 @@ namespace Integrations.Source
|
||||
}
|
||||
|
||||
var split = response.TrimEnd('\n').Split('\n');
|
||||
return split.Take(split.Length - 1).ToArray();
|
||||
return split.Take(Math.Max(1, split.Length - 1)).ToArray();
|
||||
}
|
||||
|
||||
catch (TaskCanceledException)
|
||||
|
Reference in New Issue
Block a user