Changed default to have no empty stun module config
This commit is contained in:
		
							parent
							
								
									04c4dfeddf
								
							
						
					
					
						commit
						caf6fcd13e
					
				@ -848,18 +848,6 @@ stun2="
 | 
				
			|||||||
        restricted: true"
 | 
					        restricted: true"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
footer="
 | 
					footer="
 | 
				
			||||||
  mod_stun_disco: {}
 | 
					 | 
				
			||||||
  mod_vcard: {}
 | 
					 | 
				
			||||||
  mod_vcard_xupdate: {}
 | 
					 | 
				
			||||||
  mod_version:
 | 
					 | 
				
			||||||
    show_os: false
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### Local Variables:
 | 
					 | 
				
			||||||
### mode: yaml
 | 
					 | 
				
			||||||
### End:
 | 
					 | 
				
			||||||
### vim: set filetype=yaml tabstop=8"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
footernostun="
 | 
					 | 
				
			||||||
  mod_vcard: {}
 | 
					  mod_vcard: {}
 | 
				
			||||||
  mod_vcard_xupdate: {}
 | 
					  mod_vcard_xupdate: {}
 | 
				
			||||||
  mod_version:
 | 
					  mod_version:
 | 
				
			||||||
@ -926,7 +914,7 @@ if [ "$httpuploads" == "y" ]; then
 | 
				
			|||||||
        config+=${modules1}
 | 
					        config+=${modules1}
 | 
				
			||||||
        config+=${upload3}
 | 
					        config+=${upload3}
 | 
				
			||||||
        config+=${modules2}
 | 
					        config+=${modules2}
 | 
				
			||||||
        config+=${footernostun}
 | 
					        config+=${footer}
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
    if [ "$stunturn" == "y" ]; then
 | 
					    if [ "$stunturn" == "y" ]; then
 | 
				
			||||||
@ -940,7 +928,7 @@ else
 | 
				
			|||||||
        config+=${midsection}
 | 
					        config+=${midsection}
 | 
				
			||||||
        config+=${modules1}
 | 
					        config+=${modules1}
 | 
				
			||||||
        config+=${modules2}
 | 
					        config+=${modules2}
 | 
				
			||||||
        config+=${footernostun}
 | 
					        config+=${footer}
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user