Software / code / prosody
Comparison
core/hostmanager.lua @ 4732:29ff25c8bf56
hostmanager: Remove unused host_config parameter from host-activated event
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 27 Apr 2012 22:33:38 +0100 |
| parent | 4731:84596fc32b31 |
| child | 4748:1099ff8d9f76 |
comparison
equal
deleted
inserted
replaced
| 4731:84596fc32b31 | 4732:29ff25c8bf56 |
|---|---|
| 92 log("warn", "%s: Option '%s' has no effect for virtual hosts - put it in the server-wide section instead", host, option_name); | 92 log("warn", "%s: Option '%s' has no effect for virtual hosts - put it in the server-wide section instead", host, option_name); |
| 93 end | 93 end |
| 94 end | 94 end |
| 95 | 95 |
| 96 log((hosts_loaded_once and "info") or "debug", "Activated host: %s", host); | 96 log((hosts_loaded_once and "info") or "debug", "Activated host: %s", host); |
| 97 prosody_events.fire_event("host-activated", host, host_config); | 97 prosody_events.fire_event("host-activated", host); |
| 98 return true; | 98 return true; |
| 99 end | 99 end |
| 100 | 100 |
| 101 function deactivate(host, reason) | 101 function deactivate(host, reason) |
| 102 local host_session = hosts[host]; | 102 local host_session = hosts[host]; |