mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
add check to determine whether to include color codes when checking name length
This commit is contained in:
@ -186,6 +186,8 @@ namespace SharedLibraryCore
|
||||
/// <returns></returns>
|
||||
public static bool IsZombieServer(this Server server) => server.GameName == Game.T6 && _zmGameTypes.Contains(server.Gametype.ToLower());
|
||||
|
||||
public static bool IsCodGame(this Server server) => server.RconParser?.RConEngine == "COD";
|
||||
|
||||
/// <summary>
|
||||
/// Get the IW Engine color code corresponding to an admin level
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user