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:
commit
e81795cd21
1 changed files with 1 additions and 1 deletions
|
@ -1743,7 +1743,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
|
||||||
for(j = 0; j < 3; j++)
|
for(j = 0; j < 3; j++)
|
||||||
{
|
{
|
||||||
int send_flags = flags = flags_list[j];
|
int send_flags = flags = flags_list[j];
|
||||||
const char *priv = "";
|
const char *priv = NULL;
|
||||||
if (flags == ONLY_OPERS)
|
if (flags == ONLY_OPERS)
|
||||||
{
|
{
|
||||||
send_flags = ALL_MEMBERS;
|
send_flags = ALL_MEMBERS;
|
||||||
|
|
Loading…
Reference in a new issue