I have lots of users and I suspect many of them are inactive spammers that will never confirm their registrations, leaving me with a database full of garbage.
I was looking for a plugin that cleans up unconfirmed (not inactive) users, but haven't found one, so I thought of writing a query that deletes from wp_users where user_activation_key is NULL and the date is up to 30 days ago.
Would that do the right thing?