commands: Consolidate state.channel checks into getChannel
commands: Consolidate state.channel checks into getChannel

Signed-off-by: James McCoy <91ae71a1168cea0b65ac9975da69d5a7753116be@users.sourceforge.net>

jeffmahoney/supybot,Ban3/Limnoria,ProgVal/Limnoria-test,Ban3/Limnoria,buildbot/supybot,ProgVal/Limnoria-test