equal
deleted
inserted
replaced
88 end |
88 end |
89 |
89 |
90 loop(); |
90 loop(); |
91 |
91 |
92 prosody.log("info", "Shutting down..."); |
92 prosody.log("info", "Shutting down..."); |
93 prosody.log("debug", "Shutdown reason is: %s", prosody.shutdown_reason or "not specified"); |
|
94 cleanup(); |
93 cleanup(); |
95 prosody.events.fire_event("server-stopped"); |
94 prosody.events.fire_event("server-stopped"); |
96 prosody.log("info", "Shutdown complete"); |
95 prosody.log("info", "Shutdown complete"); |
97 |
96 |
|
97 prosody.log("debug", "Shutdown reason was: %s", prosody.shutdown_reason or "not specified"); |
98 os.exit(prosody.shutdown_code); |
98 os.exit(prosody.shutdown_code); |