The main reasons weed gets moldy is because of moisture. People that keep an orange peel or something to that effect in their bag have the highest risk for mold growing on their nugs. If you have some really really moist buds that you don't plan on smoking right away, there are ways to dry them out.