1/*********************************************************************************************************************/ 2/* */ 3/* irc_channel_list_delete Submits the deletion of an entry in the IRC channel list. */ 4/* */ 5/*********************************************************************************************************************/ 6 7/** 8 * Submits the deletion of an entry in the IRC channel list. 9 * 10 * @param {int} channel_id The ID of the channel which will be deleted. 11 * @param {string} confirm_message The confirmation message which will be shown before deletion is triggered. 12 * 13 * @returns {void} 14 */ 15 16function irc_channel_list_delete( channel_id , 17 confirm_message ) 18{ 19 // Confirm the deletion 20 if(!confirm(confirm_message)) 21 return; 22 23 // Assemble the postdata 24 postdata = 'channel_id=' + fetch_sanitize(channel_id); 25 26 // Submit the deletion request 27 fetch_page('irc_channel_delete', 'irc_channel_list_row_' + channel_id, postdata); 28}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.