From e2e165d57331ea5a7805bad5df6938ce701aa261 Mon Sep 17 00:00:00 2001
From: brain
Date: Tue, 11 Jul 2006 00:09:06 +0000
Subject: 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
---
http/index.html | 4 ++--
src/modules/m_httpd.cpp | 4 ++--
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 @@
- InspIRCd m_http.so Module
+ InspIRCd m_httpd.so Module
Nothing to see here folks, Move along...
- This is a placeholder page provided by the InspIRCd m_http.so module. Please replace this page with better content.
+ This is a placeholder page provided by the InspIRCd m_httpd.so module. Please replace this page with better content.
Powered by InspIRCd
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");
}
--
cgit v1.3.1-10-gc9f91