diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:16:05 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:19:44 +0000 |
commit | 7640fad30cc2a3d61e67a7075c27f26400d4779f (patch) | |
tree | f313f0e7cf6fafd1c94f7bd2b3650a207f941ccc /src/uplink.cpp | |
parent | 9f6d3787559febb48611b1477eaa6a35beadf71a (diff) |
Simplify several boolean expressions.
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r-- | src/uplink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp index dece54ba8..baa878db3 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -148,7 +148,7 @@ UplinkSocket::~UplinkSocket() bool UplinkSocket::ProcessRead() { bool b = BufferedSocket::ProcessRead(); - for (Anope::string buf; (buf = this->GetLine()).empty() == false;) + for (Anope::string buf; !(buf = this->GetLine()).empty();) { Anope::Process(buf); User::QuitUsers(); |