changeset 12098 | 84fd6a79cda7 |
parent 10944 | 18e4e446a76c |
child 12396 | 5373724e08a5 |
--- a/util/adminstream.lua Tue Dec 21 21:38:44 2021 +0100 +++ b/util/adminstream.lua Tue Dec 21 21:23:01 2021 +0100 @@ -318,6 +318,7 @@ function listeners.ondisconnect(conn, err) --luacheck: ignore 212/conn client.log("info", "Admin client disconnected: %s", err or "connection closed"); client.conn = nil; + client.events.fire_event("disconnected"); end function listeners.onreadtimeout(conn)