Changeset

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 (2008-11-20)
parents 358:ffb1a720f5ae
children 360:e918c979ad1a
files main.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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();