That's why I would do a check with googles which is easy sending search data to google and have it return "DID YOU MEAN: xwordhere"
just return the xword otherwise google doesnt return DID YOU MEAN: kind of thing.
but really IRC is for chatting and not for grammar or spelling lessons. Who needs to spell with your brain can understand most unformulated words for example
----------------------------------------
eevn toguhh tihs is not bneig sllepd crrecltoy yuor mnid slitl has the ailbtiy to raed tihs
----------------------------------------