From c22dd67fc16ad4070fdeec264f7538764ba7a19e Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Fri, 25 Aug 2023 22:22:47 +0200 Subject: xC: send missing relay events for newly added servers --- xC.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xC.c b/xC.c index c464aaa..4902b08 100644 --- a/xC.c +++ b/xC.c @@ -9439,6 +9439,9 @@ server_add (struct app_context *ctx, str_map_set (&ctx->servers, s->name, s); s->config = subtree; + relay_prepare_server_update (ctx, s); + relay_broadcast (ctx); + // Add a buffer and activate it struct buffer *buffer = s->buffer = buffer_new (ctx->input, BUFFER_SERVER, irc_make_buffer_name (s, NULL)); -- cgit v1.2.3-70-g09d2