Mercurial > prosody-hg
comparison plugins/muc/lock.lib.lua @ 8408:b751bee6a829
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
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 21 Nov 2017 21:48:43 +0100 |
| parents | 980606856882 |
| children | 301e5b82b4d8 |
comparison
equal
deleted
inserted
replaced
| 8407:f652e1ea2f69 | 8408:b751bee6a829 |
|---|
