mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 12:03:25 +01:00
strcasecmp should be strcmp
This commit is contained in:
parent
35718db46f
commit
cb4a631df0
@ -241,7 +241,7 @@ int group_get_nick_peernumber(int groupnum, const char *nick)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < groupchats[groupnum].num_peers; ++i) {
|
||||
if (strcasecmp(nick, (char *) &groupchats[groupnum].peer_names[i * TOX_MAX_NAME_LENGTH]) == 0)
|
||||
if (strcmp(nick, (char *) &groupchats[groupnum].peer_names[i * TOX_MAX_NAME_LENGTH]) == 0)
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user