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 2849
c940726e787e
parent 2848
b2f367f16eb8
child 2850
3f646804ed6a

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	Sun Jan 31 19:27:52 2010 +0000
+++ b/prosody	Fri Feb 05 15:05:39 2010 +0000
@@ -215,6 +215,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