Yeah, this also supports another channel symbols as well, such as "&channel" (won't be converted to #&channel") and the like, I'd guess it checks $chantypes or something.