From 831714e07fa0f2c87e1781d20a09c8aea236f37e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Mon, 4 Nov 2019 15:01:31 +0000 Subject: [PATCH] Force update after mud_reset_path() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- mud.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mud.c b/mud.c index 533e515..23b7194 100644 --- a/mud.c +++ b/mud.c @@ -1548,7 +1548,8 @@ mud_set_state(struct mud *mud, struct sockaddr *addr, if (state && path->state != state) { path->state = state; - mud_reset_path(path); // XXX + mud_reset_path(path); + mud_update(mud); } return 0;