fix cmd_join in BarnOwl/Module/IRC.pm to use $chan, not $channel which is not declared or defined in that sub