Missed comment.

This commit is contained in:
Kalila L 2021-03-14 22:36:32 -04:00
parent 008c0f0b1e
commit 14d1af05a3

View file

@ -53,7 +53,7 @@ void MessagesMixer::handleMessages(QSharedPointer<ReceivedMessage> receivedMessa
auto itr = _allSubscribers.find(senderUUID);
if (itr == _allSubscribers.end()) {
_allSubscribers[senderUUID] = 1;
} else if (*itr >= _maxMessagesPerSecond) { // this syntax might be wrong I forget
} else if (*itr >= _maxMessagesPerSecond) {
return;
} else {
*itr += 1;