aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 7bff4ef3..6449f3a0 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -809,6 +809,7 @@ local available_columns = {
};
local function get_colspec(colspec, default)
+ if type(colspec) == "string" then colspec = array(colspec:gmatch("%S+")); end
local columns = {};
for i, col in pairs(colspec or default) do
if type(col) == "string" then