diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_c2s.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index 57b7b0f7..8d4dcfb8 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -228,12 +228,16 @@ end, 200); function runner_callbacks:ready() if self.data.conn then self.data.conn:resume(); + else + (self.data.log or log)("debug", "Session has no connection to resume"); end end function runner_callbacks:waiting() if self.data.conn then self.data.conn:pause(); + else + (self.data.log or log)("debug", "Session has no connection to pause while waiting"); end end |