Core/messages: Bugfix for channels with ":" in the name.

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