Don't try to set a mode in Channel::SetDefaultModes() if it needs a parameter but does not have one

Thanks to @docwhat for helping to track this down, fixes issue #924