diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-09-03 12:37:20 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-09-03 12:37:20 +0000 |
commit | d80c8e9e575239553719b4991b40e2dca6e6478e (patch) | |
tree | 6ab848f808bd4301452089eda9784801b706b0b6 /src/irc/irc-channel.c | |
parent | f74b280a1fe2566d1182d1e2180d12a514b3d6c9 (diff) | |
download | weechat-d80c8e9e575239553719b4991b40e2dca6e6478e.zip |
Fixed bug with strings comparison (str[n]casecmp) and some locales (like turkish), now using ASCII comparison
Diffstat (limited to 'src/irc/irc-channel.c')
-rw-r--r-- | src/irc/irc-channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c index 0323b7869..6aec9902f 100644 --- a/src/irc/irc-channel.c +++ b/src/irc/irc-channel.c @@ -147,7 +147,7 @@ channel_search (t_irc_server *server, char *channel_name) for (ptr_channel = server->channels; ptr_channel; ptr_channel = ptr_channel->next_channel) { - if (strcasecmp (ptr_channel->name, channel_name) == 0) + if (ascii_strcasecmp (ptr_channel->name, channel_name) == 0) return ptr_channel; } return NULL; |