Skip to content

Commit

Permalink
Make ban/kick logs enabled by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Sep 16, 2018
1 parent c1fdd50 commit d0b28e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vMenuServer/BanManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ public static string GetSafePlayerName(string playerName)
/// <param name="banActionMessage"></param>
public static void BanLog(string banActionMessage)
{
if (GetConvar("vMenuLogBanActions", "false") == "true")
if (GetConvar("vMenuLogBanActions", "true") == "true")
{
string file = LoadResourceFile(GetCurrentResourceName(), "vmenu.log") ?? "";
DateTime date = DateTime.Now;
Expand Down
2 changes: 1 addition & 1 deletion vMenuServer/MainServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ private string GetRealAceName(string inputString)
/// <param name="kickLogMesage"></param>
private static void KickLog(string kickLogMesage)
{
if (GetConvar("vMenuLogKickActions", "false") == "true")
if (GetConvar("vMenuLogKickActions", "true") == "true")
{
string file = LoadResourceFile(GetCurrentResourceName(), "vmenu.log") ?? "";
DateTime date = DateTime.Now;
Expand Down

0 comments on commit d0b28e6

Please sign in to comment.