summaryrefslogtreecommitdiff
path: root/src/network/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/connection.cpp')
-rw-r--r--src/network/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/connection.cpp b/src/network/connection.cpp
index a74e96784..77ce34bfd 100644
--- a/src/network/connection.cpp
+++ b/src/network/connection.cpp
@@ -1281,7 +1281,7 @@ bool ConnectionSendThread::packetsQueued()
continue;
for (Channel &channel : (dynamic_cast<UDPPeer *>(&peer))->channels) {
- if (channel.queued_commands.size() > 0) {
+ if (!channel.queued_commands.empty()) {
return true;
}
}