equal
deleted
inserted
replaced
92 |
92 |
93 function listener.ondisconnect(conn) |
93 function listener.ondisconnect(conn) |
94 sessions[conn] = nil; |
94 sessions[conn] = nil; |
95 end |
95 end |
96 |
96 |
|
97 function listener.onreadtimeout() |
|
98 return true; |
|
99 end |
|
100 |
97 function module.load() |
101 function module.load() |
98 if not(prosody and prosody.arg) then |
102 if not(prosody and prosody.arg) then |
99 return; |
103 return; |
100 end |
104 end |
101 filters.add_filter_hook(stats.filter_hook); |
105 filters.add_filter_hook(stats.filter_hook); |