329 return username, host, datastore, data; |
329 return username, host, datastore, data; |
330 end); |
330 end); |
331 end |
331 end |
332 |
332 |
333 function prepare_to_start() |
333 function prepare_to_start() |
334 log("debug", "Prosody is using the %s backend for connection handling", server.get_backend()); |
334 log("info", "Prosody is using the %s backend for connection handling", server.get_backend()); |
335 -- Signal to modules that we are ready to start |
335 -- Signal to modules that we are ready to start |
336 eventmanager.fire_event("server-starting"); |
336 eventmanager.fire_event("server-starting"); |
337 prosody.events.fire_event("server-starting"); |
337 prosody.events.fire_event("server-starting"); |
338 |
338 |
339 -- start listening on sockets |
339 -- start listening on sockets |