Software /
code /
prosody
Changeset
8412:0ea1e95b3a11
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Nov 2017 02:36:10 +0100 |
parents | 8410:54ff1f91e4db (current diff) 8411:a9e8523a5e73 (diff) |
children | 8413:9a234e25b35b |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/helpers.lua Tue Nov 21 23:16:16 2017 +0100 +++ b/util/helpers.lua Wed Nov 22 02:36:10 2017 +0100 @@ -50,7 +50,7 @@ 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