Preventing fires in abandoned buildings