From 2b697b5b039161cfa8d1b998e8cee08f97047180 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 11 Jul 2006 14:08:59 +0000 Subject: Compiles now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4331 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_httpd_stats.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 957c9abfd..dd646d18f 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -50,8 +50,9 @@ class ModuleHttpStats : public Module data << "

Chickens

"; - HTTPDocument response(&data, 200, event->GetData()->sock); - Request req(&response, this, event->GetSource()); + HTTPRequest* http = (HTTPRequest*)event->GetData(); + HTTPDocument response(http->sock, &data, 200); + Request req((char*)&response, (Module*)this, event->GetSource()); req.Send(); } } -- cgit v1.2.3