From 32d1184c00bdb43d3cf892b721c2906b2ddc1a14 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 6 Apr 2013 17:08:25 -0500 Subject: Use the return from BufferedSocket::ProcessRead() and don't just assume its true --- modules/extra/m_proxyscan.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/extra') diff --git a/modules/extra/m_proxyscan.cpp b/modules/extra/m_proxyscan.cpp index b77da2d3d..e14f82df6 100644 --- a/modules/extra/m_proxyscan.cpp +++ b/modules/extra/m_proxyscan.cpp @@ -127,13 +127,13 @@ class HTTPProxyConnect : public ProxyConnect, public BufferedSocket bool ProcessRead() anope_override { - BufferedSocket::ProcessRead(); + bool b = BufferedSocket::ProcessRead(); if (this->GetLine() == ProxyCheckString) { this->Ban(); return false; } - return true; + return b; } }; -- cgit