prosody: Add a catch-all friendly message for when any port is in use we want to use

Fri, 05 Feb 2010 15:05:39 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 05 Feb 2010 15:05:39 +0000
changeset 2567
ca6ee2dac8d6
parent 2566
48dfd5c9dc5d
child 2569
8474ea768c89

prosody: Add a catch-all friendly message for when any port is in use we want to use

prosody file | annotate | diff | comparison | revisions
--- a/prosody	Fri Feb 05 16:01:21 2010 +0100
+++ b/prosody	Fri Feb 05 15:05:39 2010 +0000
@@ -225,6 +225,8 @@
 							elseif port == 5280 then
 								friendly_message = "check that Prosody or a BOSH connection manager "
 									.."is not already running";
+							else
+								friendly_message = "this port is in use by another application";
 							end
 						elseif err:match("permission") then
 							friendly_message = "Prosody does not have sufficient privileges to use this port";

mercurial