summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2012-12-09 14:19:30 +0100
committerDukePyrolator <DukePyrolator@anope.org>2012-12-09 14:19:30 +0100
commit8d4a08ccc14794e37a2c295bf4f70ac203809e5d (patch)
treeb8c28ca412c29ce78f58475ad7fae1c271783633
parent9dec0936761055abc9f4650ce4bd60b19aa2b328 (diff)
fixed a log message showing the wrong IP
-rw-r--r--modules/extra/m_httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_httpd.cpp b/modules/extra/m_httpd.cpp
index 89ebd3a92..1c42a0d11 100644
--- a/modules/extra/m_httpd.cpp
+++ b/modules/extra/m_httpd.cpp
@@ -75,8 +75,8 @@ class MyHTTPClient : public HTTPClient
if (this->header.headers.count(token))
{
- Log(LOG_DEBUG, "httpd") << "m_httpd: IP for connection " << this->GetFD() << " changed to " << this->ip;
this->ip = this->header.headers[token];
+ Log(LOG_DEBUG, "httpd") << "m_httpd: IP for connection " << this->GetFD() << " changed to " << this->ip;
break;
}
}