aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-21 21:48:43 +0100
committerKim Alvefur <zash@zash.se>2017-11-21 21:48:43 +0100
commit170cc278f95862ce3a202291abed8bb7a7c16e80 (patch)
treef851a13a16e84e1a5dea940fc76633a54bdc860e /plugins/mod_posix.lua
parenta031c5073ba0956caf405d49987be3ed32eff99e (diff)
downloadprosody-170cc278f95862ce3a202291abed8bb7a7c16e80.tar.gz
prosody-170cc278f95862ce3a202291abed8bb7a7c16e80.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 'plugins/mod_posix.lua')
0 files changed, 0 insertions, 0 deletions