summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http/index.html4
-rw-r--r--src/modules/m_httpd.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/http/index.html b/http/index.html
index 804d5edc9..305c40a2f 100644
--- a/http/index.html
+++ b/http/index.html
@@ -1,12 +1,12 @@
<html>
<head>
<title>
- InspIRCd m_http.so Module
+ InspIRCd m_httpd.so Module
</title>
</head>
<body>
<h1>Nothing to see here folks, Move along...</h1>
- <h4>This is a placeholder page provided by the InspIRCd m_http.so module. Please replace this page with better content.</h4>
+ <h4>This is a placeholder page provided by the InspIRCd m_httpd.so module. Please replace this page with better content.</h4>
<small>Powered by <a href="http://www.inspircd.org">InspIRCd</a></small>
</body>
</html>
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");
}