aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-16 17:57:32 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-16 17:59:51 +0200
commite1a4fab40d325e9479970ab38184e1de91163d39 (patch)
tree8ffc8c05e4a56b84d180b0238c9aa9b4413ad1af
parent1ff80ddd1092ca7d4a4a81e1d45a8942692695ad (diff)
downloadxK-e1a4fab40d325e9479970ab38184e1de91163d39.tar.gz
xK-e1a4fab40d325e9479970ab38184e1de91163d39.tar.xz
xK-e1a4fab40d325e9479970ab38184e1de91163d39.zip
degesch: don't eat NAMES for unknown channels
-rw-r--r--degesch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 2af63b5..528611a 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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);
if (channel)
cstr_split (nicks, " ", true, &channel->names_buf);
+ else
+ log_server_status (s, s->buffer, "Users on #S: #S",
+ channel_name, nicks);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -