Add code for #564 as a new branch
Merge pull request #565 from phantium/ticket564

[adminchannel]Check for channel (half-)operator before action