aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosody b/prosody
index dd0374d5..914396c2 100755
--- a/prosody
+++ b/prosody
@@ -54,6 +54,8 @@ local thread = async.runner();
thread:run(startup.prosody);
+prosody.main_thread = thread;
+
local function loop()
-- Error handler for errors that make it this far
local function catch_uncaught_error(err)