Commit 43d72a9e authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Fixed possible NPE.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3510 b35dd754-fafc-0310-a699-88a17e54d16e
parent 41654d3a
......@@ -252,10 +252,7 @@ public class XMPPServer {
private void initialize() throws FileNotFoundException {
locateWildfire();
name = JiveGlobals.getProperty("xmpp.domain").toLowerCase();
if (name == null) {
name = "127.0.0.1";
}
name = JiveGlobals.getProperty("xmpp.domain", "127.0.0.1").toLowerCase();
version = new Version(2, 5, 1, Version.ReleaseStatus.Release, -1);
if ("true".equals(JiveGlobals.getXMLProperty("setup"))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment