amended the spam line

use startswith instead of == to make it less explicit. Needs to be improved.