Mercurial > prosody-modules
diff mod_statistics/prosodytop.lua @ 1699:54b93cf0f631
mod_statistics/prosodytop: Use the same port number to connect to as defined in the module
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 05 May 2015 15:39:15 +0200 |
parents | 64f55bcab9f7 |
children |
line wrap: on
line diff
--- a/mod_statistics/prosodytop.lua Tue May 05 15:36:57 2015 +0200 +++ b/mod_statistics/prosodytop.lua Tue May 05 15:39:15 2015 +0200 @@ -104,7 +104,7 @@ local conn = require "socket".tcp(); assert(conn:connect("localhost", 5782)); - handler = server.wrapclient(conn, "localhost", 5279, stats_listener, "*a"); + handler = server.wrapclient(conn, "localhost", 5782, stats_listener, "*a"); end return {