Merge pull request #169 from staticfox/chghost_sync
s_user: Don't send CHGHOST clients op/voice syncs
This commit is contained in:
commit
d5bc7ef377
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);
|
||||
|
||||
if(*mode)
|
||||
sendto_channel_local_butone(target_p, ALL_MEMBERS, chptr,
|
||||
":%s MODE %s +%s %s",
|
||||
target_p->servptr->name,
|
||||
chptr->chname, mode, modeval);
|
||||
sendto_channel_local_with_capability_butone(target_p, ALL_MEMBERS, NOCAPS, CLICAP_CHGHOST, chptr,
|
||||
":%s MODE %s +%s %s", target_p->servptr->name, chptr->chname, mode, modeval);
|
||||
|
||||
*modeval = '\0';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue