# HG changeset patch # User Kim Alvefur # Date 1430833155 -7200 # Node ID 54b93cf0f631536781cf4231f5d71218ff7ebd16 # Parent 55bc42c1d8c58a8c6e105cce124a0ad5c4e25c4f mod_statistics/prosodytop: Use the same port number to connect to as defined in the module diff -r 55bc42c1d8c5 -r 54b93cf0f631 mod_statistics/prosodytop.lua --- 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 {