ruby 1.8 compatible hash notation and a channel prefix repair fix

Hi,
I've found a little bug at the channel prefix check code.
And I need to use slack in ruby 1.8.7 project.

Maybe you'll find it useful.

Regards,
Matthias