Mercurial > prosody-hg
diff prosody @ 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 | a34decf98668 |
| children | 460681180194 |
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";
