summaryrefslogtreecommitdiff
path: root/modules/httpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/httpd.cpp')
-rw-r--r--modules/httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/httpd.cpp b/modules/httpd.cpp
index b2eed517d..226d750fe 100644
--- a/modules/httpd.cpp
+++ b/modules/httpd.cpp
@@ -106,7 +106,7 @@ public:
/* Close connection once all data is written */
bool ProcessWrite() override
{
- return !BinarySocket::ProcessWrite() || this->write_buffer.empty() ? false : true;
+ return !(!BinarySocket::ProcessWrite() || this->write_buffer.empty());
}
const Anope::string GetIP() override