Core/messages: Was broken for some message types.

Signed-off-by: Martin Stone <martin@d7415.co.uk>
(cherry picked from commit a1424df660fc1da5a0fa0edb363ae5e21c1627e0)
Core/actions: Make coloured text work in channels containing ":".

Signed-off-by: Martin Stone <martin@d7415.co.uk>
(cherry picked from commit 38e4d2e3b75d81c70b08d3cb0d0a521ed1f5b9e0)