you can always use chanserv commands also if your server supports it using secureops command or peace .. if this script does not work for you
SET PEACE
Syntax: /msg ChanServ SET channel PEACE {ON | OFF}
Enables or disables the peace option for a channel.
When peace is set, an user won't be able to kick,
ban or remove a channel status of an user that has
a level superior or equal to his via ChanServ commands.
and
SET SECUREOPS
Syntax: /msg ChanServ SET channel SECUREOPS {ON | OFF}
Enables or disables the secure ops option for a channel.
When secure ops is set, users who are not on the userlist
will not be allowed chanop status.