Comparison

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
comparison
equal deleted inserted replaced
358:ffb1a720f5ae 359:8fbfa8f885a6
56 56
57 -- start listening on sockets 57 -- start listening on sockets
58 start("xmppclient", { ssl = config.ssl_ctx }) 58 start("xmppclient", { ssl = config.ssl_ctx })
59 start("xmppserver", { ssl = config.ssl_ctx }) 59 start("xmppserver", { ssl = config.ssl_ctx })
60 60
61 modulemanager.fire_event("server-started");
62
61 server.loop(); 63 server.loop();