--- a/plugins/mod_c2s.lua Wed Mar 17 12:47:16 2021 +0100
+++ b/plugins/mod_c2s.lua Thu Mar 18 16:23:47 2021 +0100
@@ -226,11 +226,15 @@
end, 200);
function runner_callbacks:ready()
- if self.data["conn"] ~= nil then self.data.conn:resume(); end
+ if self.data.conn then
+ self.data.conn:resume();
+ end
end
function runner_callbacks:waiting()
- if self.data["conn"] ~= nil then self.data.conn:pause(); end
+ if self.data.conn then
+ self.data.conn:pause();
+ end
end
function runner_callbacks:error(err)