aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_telnet.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_telnet.lua b/plugins/mod_admin_telnet.lua
index 85fb0d6c..828e85f4 100644
--- a/plugins/mod_admin_telnet.lua
+++ b/plugins/mod_admin_telnet.lua
@@ -1328,7 +1328,7 @@ function stats_methods:cfgraph()
table.insert(stat_info.output, s);
end
- if data and data.sample_count > 0 then
+ if data and data.sample_count and data.sample_count > 0 then
local raw_histogram = require "util.statistics".get_histogram(data);
local graph_width, graph_height = 50, 10;