Fixed {CHANNEL} token not being replaced in some cases.

Fixes #80.