mod_statistics/prosodytop: Use the same port number to connect to as defined in the module
authorKim Alvefur <zash@zash.se>
Tue, 05 May 2015 15:39:15 +0200
changeset 1703 54b93cf0f631
parent 1702 55bc42c1d8c5
child 1704 ab3175685f94
mod_statistics/prosodytop: Use the same port number to connect to as defined in the module
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 {