From 3a4efe9081ffe4b2510174b39d92f6cee4ff8735 Mon Sep 17 00:00:00 2001 From: Jess Porter Date: Wed, 9 Nov 2022 23:33:07 +0000 Subject: [PATCH] CHGHOST when only case changes (#384) --- ircd/s_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/s_user.c b/ircd/s_user.c index 791c6aa4..8a664624 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -1624,7 +1624,7 @@ change_nick_user_host(struct Client *target_p, const char *nick, const char *use struct membership *mscptr; int changed = irccmp(target_p->name, nick); int changed_case = strcmp(target_p->name, nick); - int do_qjm = irccmp(target_p->username, user) || irccmp(target_p->host, host); + int do_qjm = strcmp(target_p->username, user) || strcmp(target_p->host, host); char mode[10], modeval[NICKLEN * 2 + 2], reason[256], *mptr; va_list ap;