autojoin: fix typo Pchannel_id to channel_id