Restricted +O (operonly) channel mode to be set only by ircops

(chm_staff)
This commit is contained in:
Valery V Yatsko 2008-08-04 21:59:58 +04:00
parent 392ae75ca9
commit fc8942feef

View file

@ -28,7 +28,7 @@ _modinit(void)
{ {
/* add the channel mode to the available slot */ /* add the channel mode to the available slot */
chmode_table['O'].mode_type = find_cflag_slot(); chmode_table['O'].mode_type = find_cflag_slot();
chmode_table['O'].set_func = chm_simple; chmode_table['O'].set_func = chm_staff;
construct_noparam_modes(); construct_noparam_modes();