summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 4d7205b5a..8e75c256c 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -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;
}
};