1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Use CASEMAPPING dependent comparison to match channel names.

Patch by Jon Mayo, bug #436.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4497 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-05-18 09:56:08 +00:00 committed by exg
parent 38c3984d10
commit 4058a9338f

View File

@ -180,10 +180,10 @@ static CHANNEL_REC *irc_channel_find_server(SERVER_REC *server,
continue;
/* check both !ABCDEchannel and !channel */
if (g_strcasecmp(channel, rec->name) == 0)
if (IRC_SERVER(server)->nick_comp_func(channel, rec->name) == 0)
return rec;
if (g_strcasecmp(channel, rec->visible_name) == 0)
if (IRC_SERVER(server)->nick_comp_func(channel, rec->visible_name) == 0)
return rec;
}