Problem with the word censor

Mods,

As I’m sure you probably know, the filter, in attempting to omit the letters represented by “es tee eff u”, also omit words such as “wi****lly”. The solution is pretty easy to fix, the code just needs to be changed so that the filter checks the character before the “s”. If it is a space, then omit. If not, then don’t.