]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/httpd.h
Forward port r9782: show IP (not unknown) for unauthed connections
[user/henk/code/inspircd.git] / src / modules / httpd.h
index 59e099f80992fada01da70897be77d3debdcdaa3..0fa5c09d55f551b7355b8605362e2503802a31f6 100644 (file)
@@ -22,7 +22,7 @@
 
 /** A modifyable list of HTTP header fields
  */
-class HTTPHeaders
+class HTTPHeaders : public classbase
 {
  protected:
        std::map<std::string,std::string> headers;
@@ -109,7 +109,8 @@ class HTTPRequest : public classbase
  public:
 
        HTTPHeaders *headers;
-       
+       int errorcode;
+
        /** A socket pointer, which you must return in your HTTPDocument class
         * if you reply to this request.
         */