summaryrefslogtreecommitdiff
path: root/modules/proxyscan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/proxyscan.cpp')
-rw-r--r--modules/proxyscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxyscan.cpp b/modules/proxyscan.cpp
index 3b4999cd4..42beb37e5 100644
--- a/modules/proxyscan.cpp
+++ b/modules/proxyscan.cpp
@@ -40,7 +40,7 @@ class ProxyCallbackListener final
bool ProcessWrite() override
{
- return !BufferedSocket::ProcessWrite() || this->write_buffer.empty() ? false : true;
+ return !(!BufferedSocket::ProcessWrite() || this->write_buffer.empty());
}
};