summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/extra/m_proxyscan.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}
};