diff options
Diffstat (limited to 'util/adminstream.lua')
-rw-r--r-- | util/adminstream.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/adminstream.lua b/util/adminstream.lua index 5b592e76..703deb07 100644 --- a/util/adminstream.lua +++ b/util/adminstream.lua @@ -318,6 +318,7 @@ local function new_client() 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) |