update ts2_channel_privileges set
   b_cp_flag_admin = :bAdmin,
   b_cp_flag_autoop = :bAutoOP,
   b_cp_flag_autovoice = :bAutoVoice
where i_cp_server_id = :iServerID
and i_cp_channel_id = :iChannelID
and i_cp_client_id = :iClientID
