Software /
code /
prosody
Changeset
2567:ca6ee2dac8d6
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 | 2566:48dfd5c9dc5d |
children | 2569:8474ea768c89 |
files | prosody |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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";