Correction, USERS now only requires being known on the channel.
It doesn't reveal any information a known user can't already get by doing chanlev and whoising everyone.
- if (!(cip=cs_checkaccess(sender, cargv[0], CA_OPPRIV,
+ if (!(cip=cs_checkaccess(sender, cargv[0], CA_KNOWN,
NULL, "users", QPRIV_VIEWFULLCHANLEV, 0)))
return CMD_ERROR;
NULL, "users", QPRIV_VIEWFULLCHANLEV, 0)))
return CMD_ERROR;
qsort(theusers, j, sizeof(struct chanuserrec), comparetheflags);
qsort(theusers, j, sizeof(struct chanuserrec), comparetheflags);
- chanservstdmessage(sender,QM_USERSHEADER, cip->name->content);
+ chanservstdmessage(sender, QM_USERSHEADER, cip->name->content);
flagmask=QCUFLAGS_PUBLIC;
ops=voices=users=flags=qops=masters=0;
flagmask=QCUFLAGS_PUBLIC;
ops=voices=users=flags=qops=masters=0;