aboutsummaryrefslogtreecommitdiffstats
path: root/util/helpers.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-22 02:36:10 +0100
committerKim Alvefur <zash@zash.se>2017-11-22 02:36:10 +0100
commitb0da02a8bef0ef170b7922f88fbad9a17d7c990d (patch)
treeb8924d939965bcf3ffbf9477eb4f73d16ca4b471 /util/helpers.lua
parent4264d7dcbe2a14ba91cfb4e5b137a1e931e86868 (diff)
parent9a0eb2419a81bd5a2221ad049acf7088693ef57d (diff)
downloadprosody-b0da02a8bef0ef170b7922f88fbad9a17d7c990d.tar.gz
prosody-b0da02a8bef0ef170b7922f88fbad9a17d7c990d.zip
Merge 0.10->trunk
Diffstat (limited to 'util/helpers.lua')
-rw-r--r--util/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/helpers.lua b/util/helpers.lua
index eb38f653..02257ffa 100644
--- a/util/helpers.lua
+++ b/util/helpers.lua
@@ -50,7 +50,7 @@ local function show_events(events, specific_event)
local handler_strings = {};
for i, handler in ipairs(handlers) do
local upvals = debug.string_from_var_table(debug.get_upvalues_table(handler));
- handler_strings[i] = " "..priorities[handler]..": "..tostring(handler)..(upvals and ("\n "..upvals) or "");
+ handler_strings[i] = " "..(priorities[handler] or "?")..": "..tostring(handler)..(upvals and ("\n "..upvals) or "");
end
event_handler_arrays[event] = handler_strings;
end