mirror of
https://github.com/anope/anope.git
synced 2026-06-30 01:16:38 +02:00
Simplify several boolean expressions.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user