aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/stats.py b/modules/stats.py
index e8f1ea5b..70d9a213 100644
--- a/modules/stats.py
+++ b/modules/stats.py
@@ -49,7 +49,7 @@ class Module(ModuleManager.BaseModule):
return {"networks": networks, "channels": channels, "users": users}
def _server_stats(self, server):
- connected_seconds = time.time()-server.connect_time
+ connected_seconds = time.time()-server.socket.connect_time
return {
"hostname": server.connection_params.hostname,
"port": server.connection_params.port,