mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:46:40 +02:00
Simplify several boolean expressions.
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user