added check if flags weren't changed to writeLog
This commit is contained in:
parent
0db83e0a51
commit
f26945a841
@ -116,7 +116,7 @@ void writeLog(int loggerFile, char *logMessage)
|
||||
logFlags flags = getLogFlags();
|
||||
|
||||
//SET ENCRYPTER FLAGS
|
||||
setFlags((inputFlags) { 0, 1, 0 });
|
||||
if (!getFlagsChanged()) setFlags((inputFlags) { 0, 1, 0 });
|
||||
|
||||
if (flags.key != NULL) //ENCRYPT TEXT IF KEY WAS CHANGED
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user