]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper, ident...
[user/henk/code/inspircd.git] / include / inspircd.h
index 4d7205b5a81e1a171dda9f093b0a4b452684467d..e698efe219c030ef9930505ec83152d8e9f03745 100644 (file)
@@ -63,15 +63,16 @@ class serverstats : public classbase
        unsigned long statsDnsGood;
        unsigned long statsDnsBad;
        unsigned long statsConnects;
-       unsigned long statsSent;
-       unsigned long statsRecv;
+       double statsSent;
+       double statsRecv;
        unsigned long BoundPortCount;
 
        serverstats()
        {
                statsAccept = statsRefused = statsUnknown = 0;
                statsCollisions = statsDns = statsDnsGood = 0;
-               statsDnsBad = statsConnects = statsSent = statsRecv = 0;
+               statsDnsBad = statsConnects = 0;
+               statsSent = statsRecv = 0.0;
                BoundPortCount = 0;
        }
 };
@@ -102,6 +103,7 @@ class InspIRCd : public classbase
        CommandParser* Parser;
        SocketEngine* SE;
        serverstats* stats;
+       DNS* Res;
 
        std::string GetRevision();
        std::string GetVersionString();
@@ -112,7 +114,6 @@ class InspIRCd : public classbase
        InspIRCd(int argc, char** argv);
        void DoOneIteration(bool process_module_sockets);
        int Run();
-
 };
 
 /* Miscellaneous stuff here, moved from inspircd_io.h */