Changeset

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 1698:55bc42c1d8c5
children 1700:ab3175685f94
files mod_statistics/prosodytop.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 {