Fixed a small bug in logging

This commit is contained in:
Erik Zandvliet 2013-05-13 11:56:08 +02:00
parent 3a73e17e9c
commit 96e8523c51

View file

@ -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;
}
}