Software /
code /
prosody
Changeset
2849:c940726e787e
prosody: Add a catch-all friendly message for when any port is in use we want to use
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Feb 2010 15:05:39 +0000 |
parents | 2848:b2f367f16eb8 |
children | 2850:3f646804ed6a |
files | prosody |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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";