mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 16:48:27 -05:00
rcon command formatted to work in linux
fixes to work with mono
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
using SharedLibrary.Exceptions;
|
||||
using SharedLibrary.Interfaces;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
@ -180,7 +181,7 @@ namespace SharedLibrary.RCon
|
||||
break;
|
||||
}
|
||||
|
||||
byte[] payload = Encoding.Default.GetBytes(queryString);
|
||||
byte[] payload = queryString.Select(Convert.ToByte).ToArray();
|
||||
|
||||
retrySend:
|
||||
try
|
||||
|
Reference in New Issue
Block a user