diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-21 21:48:43 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-21 21:48:43 +0100 |
commit | fc8fcb69efd74afc072c04b05ca637616031d9f1 (patch) | |
tree | f851a13a16e84e1a5dea940fc76633a54bdc860e /net/http/codes.lua | |
parent | ffc6fcf5d32aecc207c9260d86851150a4be48fc (diff) | |
download | prosody-fc8fcb69efd74afc072c04b05ca637616031d9f1.tar.gz prosody-fc8fcb69efd74afc072c04b05ca637616031d9f1.zip |
util.async: Fix thread check to work correctly in Lua 5.2
coroutine.running() now returns the main thread and a boolean true if
called from the main thread, as opposed to nil in 5.1
Diffstat (limited to 'net/http/codes.lua')
0 files changed, 0 insertions, 0 deletions