1
0
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:
Adam
2013-04-06 17:08:25 -05:00
parent 6a46a08a85
commit 32d1184c00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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()