aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-20 02:59:40 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-20 02:59:40 +0000
commitd8a04fa9e0b5b60fcbda35c40adb8f2b18b24043 (patch)
tree90713cfc2d19daeee5709204169606ec5d493bde
parentc1acb03d538c60d99bab38f404b50c2c1234acfc (diff)
downloadprosody-d8a04fa9e0b5b60fcbda35c40adb8f2b18b24043.tar.gz
prosody-d8a04fa9e0b5b60fcbda35c40adb8f2b18b24043.zip
Add event for server startup completed: server-started
-rw-r--r--main.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index a9154d43..ddda1559 100644
--- a/main.lua
+++ b/main.lua
@@ -58,4 +58,6 @@ local protected_disconnect = function (conn, err) local success, ret = pcall(dis
start("xmppclient", { ssl = config.ssl_ctx })
start("xmppserver", { ssl = config.ssl_ctx })
+modulemanager.fire_event("server-started");
+
server.loop();