Fixed nullpointer by not reacting to messages for unknown channels.

Fixed nullpointer by not reacting to messages for unknown channels.