Add event for server startup completed: server-started
authorMatthew Wild <mwild1@gmail.com>
Thu, 20 Nov 2008 02:59:40 +0000
changeset 359 8fbfa8f885a6
parent 358 ffb1a720f5ae
child 360 e918c979ad1a
Add event for server startup completed: server-started
main.lua
--- 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();