Make /whois ignore any trailing spaces/text

/whois was saying no name was provided if there was a trailing space.