mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 08:23:13 +02:00
Missed comment.
This commit is contained in:
parent
008c0f0b1e
commit
14d1af05a3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue