spam plugin: cleaned up a redundant if statement

When I cleaned up the first if statement, I didn't realize at first I
could just roll them both into one.