mod_statistics/prosodytop: Use the same port number to connect to as defined in the module

Tue, 05 May 2015 15:39:15 +0200

author
Kim Alvefur <zash@zash.se>
date
Tue, 05 May 2015 15:39:15 +0200
changeset 1699
54b93cf0f631
parent 1698
55bc42c1d8c5
child 1700
ab3175685f94

mod_statistics/prosodytop: Use the same port number to connect to as defined in the module

mod_statistics/prosodytop.lua file | annotate | diff | comparison | revisions
--- 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 {

mercurial