CHGHOST when only case changes (#384)

This commit is contained in:
Jess Porter 2022-11-09 23:33:07 +00:00 committed by GitHub
parent 63ee10379c
commit 3a4efe9081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1624,7 +1624,7 @@ change_nick_user_host(struct Client *target_p, const char *nick, const char *use
struct membership *mscptr; struct membership *mscptr;
int changed = irccmp(target_p->name, nick); int changed = irccmp(target_p->name, nick);
int changed_case = strcmp(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; char mode[10], modeval[NICKLEN * 2 + 2], reason[256], *mptr;
va_list ap; va_list ap;