diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_httpd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index ef3d89520..8150a6b5f 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -72,8 +72,8 @@ class HttpSocket : public InspSocket { struct tm *timeinfo = localtime(&TIME); this->Write("HTTP/1.1 200 OK\r\nDate: "); - this->Write(asctime(timeinfo)); - this->Write("Server: InspIRCd/m_http.so/1.1\r\nContent-Length: "+ConvToStr(index->ContentSize())+ + this->Write(asctime(timeinfo)); + this->Write("Server: InspIRCd/m_httpd.so/1.1\r\nContent-Length: "+ConvToStr(index->ContentSize())+ "\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n"); } |