summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 00:09:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 00:09:06 +0000
commite2e165d57331ea5a7805bad5df6938ce701aa261 (patch)
tree3c8d0f282b4e6cff7afb8c2809f8c97d0e850e55
parenteecdd0da4b144d070d253fcad035077b38e438ca (diff)
Change last vestiges of m_http.so -> m_httpd.so
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4320 e03df62e-2008-0410-955e-edbf42e46eb7
-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");
}