Commit Diff


commit - b3cacf86df000ed22734b4a5e06d7d7eb8ae6ffa
commit + 63cbc6cd4262971d0ef795d2404bc545413e159a
blob - a3c9afecf097c88de0fc55e9b1ac44aebb9c25b0
blob + eccf13cc3edec2a78d533287c2d92a18ce2345ce
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
@@ -400,7 +400,7 @@ Conf_EnableServer( const char *Name, UINT16 Port )
 			/* Gotcha! Set port and enable server: */
 			Conf_Server[i].port = Port;
 			Conf_Server[i].flags &= ~CONF_SFLAG_DISABLED;
-			return true;
+			return (Conf_Server[i].port && Conf_Server[i].host[0]);
 		}
 	}
 	return false;