Fixing channel message scanning.

I really have no idea how I fucked this up the first time. I didn't think I was
that out of it when I wrote it.