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