ircd: chmode: clean up chm_hidden() a little bit
This commit is contained in:
parent
be29ec793d
commit
fd8e3f892c
1 changed files with 0 additions and 6 deletions
|
@ -692,11 +692,8 @@ chm_hidden(struct Client *source_p, struct Channel *chptr,
|
||||||
|
|
||||||
mode_changes[mode_count].letter = c;
|
mode_changes[mode_count].letter = c;
|
||||||
mode_changes[mode_count].dir = MODE_ADD;
|
mode_changes[mode_count].dir = MODE_ADD;
|
||||||
mode_changes[mode_count].caps = 0;
|
|
||||||
mode_changes[mode_count].nocaps = 0;
|
|
||||||
mode_changes[mode_count].id = NULL;
|
mode_changes[mode_count].id = NULL;
|
||||||
mode_changes[mode_count].mems = ONLY_OPERS;
|
mode_changes[mode_count].mems = ONLY_OPERS;
|
||||||
mode_changes[mode_count].override = 0;
|
|
||||||
mode_changes[mode_count++].arg = NULL;
|
mode_changes[mode_count++].arg = NULL;
|
||||||
}
|
}
|
||||||
else if((dir == MODE_DEL) && (chptr->mode.mode & mode_type))
|
else if((dir == MODE_DEL) && (chptr->mode.mode & mode_type))
|
||||||
|
@ -705,11 +702,8 @@ chm_hidden(struct Client *source_p, struct Channel *chptr,
|
||||||
|
|
||||||
mode_changes[mode_count].letter = c;
|
mode_changes[mode_count].letter = c;
|
||||||
mode_changes[mode_count].dir = MODE_DEL;
|
mode_changes[mode_count].dir = MODE_DEL;
|
||||||
mode_changes[mode_count].caps = 0;
|
|
||||||
mode_changes[mode_count].nocaps = 0;
|
|
||||||
mode_changes[mode_count].mems = ONLY_OPERS;
|
mode_changes[mode_count].mems = ONLY_OPERS;
|
||||||
mode_changes[mode_count].id = NULL;
|
mode_changes[mode_count].id = NULL;
|
||||||
mode_changes[mode_count].override = 0;
|
|
||||||
mode_changes[mode_count++].arg = NULL;
|
mode_changes[mode_count++].arg = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue