mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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:
parent
0d54e4e299
commit
6d6b02d10e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user