Don't allow spaces in ident and nick inputs
As the IRC protocol doesn't handle spaces in nicks or idents don't allow the user add them to the input.
As the IRC protocol doesn't handle spaces in nicks or idents don't allow the user add them to the input.