If a message starts with an unbroken sequence of characters that include a colon, then everything up to and including the colon is removed. URLs have their scheme removed ("https://github.com/" -> "//github.com/"), and nick mentions disappear ("kennylevinsen:" -> "").
The problem doe snot seem to appear if the sequence is broken by a space. I assume this is a case of IRC command argument splitting gone wrong.