mirror of
https://github.com/anope/anope.git
synced 2026-07-02 11:06:37 +02:00
Use the return from BufferedSocket::ProcessRead() and don't just assume its true
This commit is contained in:
+2
-2
@@ -118,13 +118,13 @@ UplinkSocket::~UplinkSocket()
|
||||
|
||||
bool UplinkSocket::ProcessRead()
|
||||
{
|
||||
BufferedSocket::ProcessRead();
|
||||
bool b = BufferedSocket::ProcessRead();
|
||||
for (Anope::string buf; (buf = this->GetLine()).empty() == false;)
|
||||
{
|
||||
Anope::Process(buf);
|
||||
User::QuitUsers();
|
||||
}
|
||||
return true;
|
||||
return b;
|
||||
}
|
||||
|
||||
void UplinkSocket::OnConnect()
|
||||
|
||||
Reference in New Issue
Block a user