Diff

main.lua @ 359:8fbfa8f885a6

Add event for server startup completed: server-started
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 Nov 2008 02:59:40 +0000
parent 260:182f0c895676
child 376:6d87944df37c
line wrap: on
line diff
--- a/main.lua	Thu Nov 20 02:05:26 2008 +0000
+++ b/main.lua	Thu Nov 20 02:59:40 2008 +0000
@@ -58,4 +58,6 @@
 start("xmppclient", { ssl = config.ssl_ctx })
 start("xmppserver", { ssl = config.ssl_ctx })
 
+modulemanager.fire_event("server-started");
+
 server.loop();