mirror of
https://github.com/matrix-construct/construct
synced 2024-11-30 02:32:43 +01:00
New way of noparam mode search
This commit is contained in:
parent
33599ae783
commit
f588b95674
1 changed files with 7 additions and 3 deletions
10
src/chmode.c
10
src/chmode.c
|
@ -99,9 +99,13 @@ construct_noparam_modes(void)
|
|||
|
||||
for(i = 0; i < 256; i++)
|
||||
{
|
||||
if( (chmode_table[i].set_func == chm_simple) ||
|
||||
(chmode_table[i].set_func == chm_staff) ||
|
||||
(chmode_table[i].set_func == chm_regonly))
|
||||
if( !(chmode_table[i].set_func == chm_ban) &&
|
||||
!(chmode_table[i].set_func == chm_forward) &&
|
||||
!(chmode_table[i].set_func == chm_throttle) &&
|
||||
!(chmode_table[i].set_func == chm_key) &&
|
||||
!(chmode_table[i].set_func == chm_limit) &&
|
||||
!(chmode_table[i].set_func == chm_op) &&
|
||||
!(chmode_table[i].set_func == chm_voice))
|
||||
{
|
||||
chmode_flags[i] = chmode_table[i].mode_type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue