s_user: Don't send CHGHOST clients op/voice syncs
This commit is contained in:
parent
98793cc9e4
commit
ad9cbf9e0d
1 changed files with 2 additions and 4 deletions
|
@ -1464,10 +1464,8 @@ change_nick_user_host(struct Client *target_p, const char *nick, const char *use
|
||||||
target_p->info);
|
target_p->info);
|
||||||
|
|
||||||
if(*mode)
|
if(*mode)
|
||||||
sendto_channel_local_butone(target_p, ALL_MEMBERS, chptr,
|
sendto_channel_local_with_capability_butone(target_p, ALL_MEMBERS, NOCAPS, CLICAP_CHGHOST, chptr,
|
||||||
":%s MODE %s +%s %s",
|
":%s MODE %s +%s %s", target_p->servptr->name, chptr->chname, mode, modeval);
|
||||||
target_p->servptr->name,
|
|
||||||
chptr->chname, mode, modeval);
|
|
||||||
|
|
||||||
*modeval = '\0';
|
*modeval = '\0';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue