diff --git a/src/controller.cpp b/src/controller.cpp index a6b01c10..85ade168 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -257,6 +257,7 @@ void CheckStats(JSON::Value & stats){ for (JSON::ObjIter jit = stats.ObjBegin(); jit != stats.ObjEnd(); jit++){ if (currTime - lastBuffer[jit->first] > 120){ stats.removeMember(jit->first); + return; } } }