Fixed a small bug in logging
This commit is contained in:
parent
3a73e17e9c
commit
96e8523c51
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace Controller {
|
|||
//if last log message equals this one, do not log.
|
||||
if (Storage["log"].size() > 0){
|
||||
JSON::ArrIter it = Storage["log"].ArrEnd() - 1;
|
||||
if (( *it)[2] == message){
|
||||
if (( *it)[2] == message && ( *it)[1] == kind){
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue