mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
This commit is contained in:
parent
5ca9287182
commit
0d4f13d20f
63 changed files with 168 additions and 160 deletions
|
|
@ -90,7 +90,8 @@ static void send_message(SERVER_REC *server, const char *target,
|
|||
if (*target == '!') {
|
||||
/* !chan -> !12345chan */
|
||||
channel = channel_find(server, target);
|
||||
if (channel != NULL && g_strcasecmp(channel->name, target) != 0)
|
||||
if (channel != NULL &&
|
||||
g_ascii_strcasecmp(channel->name, target) != 0)
|
||||
target = channel->name;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue