1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Netjoins in +channels were printed as if users joined to "channel" and all

of them had ops, so the message always went to status/active window.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2557 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 15:42:52 +00:00 committed by cras
parent 0d54e4e299
commit 6d6b02d10e

View File

@ -184,7 +184,8 @@ static void print_netjoins(NETJOIN_SERVER_REC *server)
next = tmp->next;
while (rec->now_channels != NULL) {
char *channel = rec->now_channels->data;
char *realchannel = channel + isnickflag(*channel);
char *realchannel = channel +
(isnickflag(*channel) && ischannel(channel[1]));
temp = g_hash_table_lookup(channels, realchannel);
if (temp == NULL) {