From d75121abffd073d710c30300c8dd751317967522 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 27 Nov 2018 19:34:21 +0100 Subject: mod_csi: Set session.state to simplify CSI modules Moved here from mod_csi_simple --- plugins/mod_csi_simple.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_csi_simple.lua') diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua index f00279d3..1efff38f 100644 --- a/plugins/mod_csi_simple.lua +++ b/plugins/mod_csi_simple.lua @@ -71,7 +71,6 @@ end, -1); module:hook("csi-client-inactive", function (event) local session = event.origin; - session.state = "inactive"; if session.pump then session.pump:pause(); else @@ -99,7 +98,6 @@ end); module:hook("csi-client-active", function (event) local session = event.origin; - session.state = "active"; if session.pump then session.pump:resume(); end -- cgit v1.2.3