From fc8942feefc75ef3598e5937faf30c5793743177 Mon Sep 17 00:00:00 2001 From: Valery V Yatsko Date: Mon, 4 Aug 2008 21:59:58 +0400 Subject: [PATCH] Restricted +O (operonly) channel mode to be set only by ircops (chm_staff) --- extensions/chm_operonly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/chm_operonly.c b/extensions/chm_operonly.c index 5de15b3d4..4912e5a74 100644 --- a/extensions/chm_operonly.c +++ b/extensions/chm_operonly.c @@ -28,7 +28,7 @@ _modinit(void) { /* add the channel mode to the available 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();