Merge pull request #364 from ophion-project/upstream/fix-chmode-propagation

chmode: use NULL for priv argument when auspex:cmodes priv is not needed
This commit is contained in:
Aaron Jones 2020-09-10 07:49:27 +00:00 committed by GitHub
commit e81795cd21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1743,7 +1743,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
for(j = 0; j < 3; j++)
{
int send_flags = flags = flags_list[j];
const char *priv = "";
const char *priv = NULL;
if (flags == ONLY_OPERS)
{
send_flags = ALL_MEMBERS;