degesch: don't eat NAMES for unknown channels
This commit is contained in:
parent
1ff80ddd10
commit
e1a4fab40d
@ -7300,6 +7300,9 @@ irc_handle_rpl_namreply (struct server *s, const struct irc_message *msg)
|
|||||||
struct channel *channel = str_map_find (&s->irc_channels, channel_name);
|
struct channel *channel = str_map_find (&s->irc_channels, channel_name);
|
||||||
if (channel)
|
if (channel)
|
||||||
cstr_split (nicks, " ", true, &channel->names_buf);
|
cstr_split (nicks, " ", true, &channel->names_buf);
|
||||||
|
else
|
||||||
|
log_server_status (s, s->buffer, "Users on #S: #S",
|
||||||
|
channel_name, nicks);
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
Loading…
Reference in New Issue
Block a user