From ad9cbf9e0d9e7176014d3282613dfda846d11bdd Mon Sep 17 00:00:00 2001 From: Matt Ullman Date: Sun, 20 Mar 2016 18:59:07 -0400 Subject: [PATCH] s_user: Don't send CHGHOST clients op/voice syncs --- ircd/s_user.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ircd/s_user.c b/ircd/s_user.c index f1fc52a4..46a1ee61 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -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'; }