mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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:
parent
38c3984d10
commit
4058a9338f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user