aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_httpd_stats.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-05-08 22:15:00 +0000
committerGravatar brain2008-05-08 22:15:00 +0000
commit2425244549a45295168b1958b9d599e5e286e629 (patch)
tree7f1f351a878d139bbe9860298003c4e167dadc9a /src/modules/m_httpd_stats.cpp
parentRemove the timeout stuff, it is not stable and not really required, we are no... (diff)
downloadinspircd++-2425244549a45295168b1958b9d599e5e286e629.tar.gz
inspircd++-2425244549a45295168b1958b9d599e5e286e629.tar.bz2
inspircd++-2425244549a45295168b1958b9d599e5e286e629.zip
Make this nicer, rely on the last write event after the Write() that sends all the data, not on a timer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
-rw-r--r--src/modules/m_httpd_stats.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp
index 157f772c1..d95824c83 100644
--- a/src/modules/m_httpd_stats.cpp
+++ b/src/modules/m_httpd_stats.cpp
@@ -94,6 +94,7 @@ class ModuleHttpStats : public Module
if (event->GetEventID() == "httpd_url")
{
+ ServerInstance->Logs->Log("m_http_stats", DEBUG,"Handling httpd event");
HTTPRequest* http = (HTTPRequest*)event->GetData();
if ((http->GetURI() == "/stats") || (http->GetURI() == "/stats/"))