mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 21:13:12 +02:00
Document some more structs and group them in a logical place.
This commit is contained in:
+2
-2
@@ -824,7 +824,7 @@ int do_mode_char(Channel *chptr, long modetype, char modechar, char *param,
|
||||
sendnumeric(cptr, ERR_CHANOWNPRIVNEEDED, chptr->chname);
|
||||
break;
|
||||
}
|
||||
if (!is_halfop(cptr, chptr)) /* htrig will take care of halfop override notices */
|
||||
if (!is_half_op(cptr, chptr)) /* htrig will take care of halfop override notices */
|
||||
opermode = 1;
|
||||
}
|
||||
goto process_listmode;
|
||||
@@ -839,7 +839,7 @@ int do_mode_char(Channel *chptr, long modetype, char modechar, char *param,
|
||||
sendnumeric(cptr, ERR_CHANOWNPRIVNEEDED, chptr->chname);
|
||||
break;
|
||||
}
|
||||
if (!is_halfop(cptr, chptr)) /* htrig will take care of halfop override notices */
|
||||
if (!is_half_op(cptr, chptr)) /* htrig will take care of halfop override notices */
|
||||
opermode = 1;
|
||||
}
|
||||
goto process_listmode;
|
||||
|
||||
+1
-1
@@ -140,7 +140,7 @@ CMD_FUNC(m_part)
|
||||
comment = NULL;
|
||||
/* Same for +m */
|
||||
if ((chptr->mode.mode & MODE_MODERATED) && comment &&
|
||||
!has_voice(sptr, chptr) && !is_halfop(sptr, chptr))
|
||||
!has_voice(sptr, chptr) && !is_half_op(sptr, chptr))
|
||||
{
|
||||
comment = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user