static void AddUnbanEntry(string pl, string who, string reason) { string time = DateTime.UtcNow.ToUnixTime().ToString(); string data = pl + " " + who + " " + reason + " " + time; unbans.Append(data); }
static void AddBanEntry(string pl, string who, string reason, string stealth, string oldrank) { string time = DateTime.UtcNow.ToUnixTime().ToString(); string data = pl + " " + who + " " + reason + " " + stealth + " " + time + " " + oldrank; bans.Append(data); }
static void AddBanEntry(string pl, string who, string reason, string stealth, string datetime, string oldrank) { string data = pl + " " + who + " " + reason + " " + stealth + " " + datetime + " " + oldrank; bans.Append(data); }
static void AddUnbanEntry(string pl, string who, string reason, string datetime) { string data = pl + " " + who + " " + reason + " " + datetime; unbans.Append(data); }