diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-08-25 22:22:47 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-08-25 22:48:27 +0200 |
commit | c22dd67fc16ad4070fdeec264f7538764ba7a19e (patch) | |
tree | 7e784ea7869901a74bf93fea035aa52b82eb6f50 | |
parent | 274d5f03e7da211e5a52dbd2309c8888c7499c6c (diff) | |
download | xK-c22dd67fc16ad4070fdeec264f7538764ba7a19e.tar.gz xK-c22dd67fc16ad4070fdeec264f7538764ba7a19e.tar.xz xK-c22dd67fc16ad4070fdeec264f7538764ba7a19e.zip |
xC: send missing relay events for newly added servers
-rw-r--r-- | xC.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)); |