summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 14:08:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-11 14:08:59 +0000
commit2b697b5b039161cfa8d1b998e8cee08f97047180 (patch)
tree23913cbad0a0364d8db9672eeef12a735e3347f1 /src
parent1e4120dd22e70782a72057a0d41f35daffbd6b01 (diff)
Compiles now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4331 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_httpd_stats.cpp5
1 files changed, 3 insertions, 2 deletions
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 << "<html><h1>Chickens</h1></html>";
- 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();
}
}