Mercurial > prosody-hg
comparison plugins/mod_bosh.lua @ 9799:7259a61bacc8
mod_bosh, mod_websocket: Remove accidentally included dependency on non-existant module
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 19 Jan 2019 20:03:04 +0100 |
| parents | 4b5c24f13d4a |
| children | f122972b77b2 |
comparison
equal
deleted
inserted
replaced
| 9798:7ce7ee9cd1c5 | 9799:7259a61bacc8 |
|---|---|
| 46 local consider_bosh_secure = module:get_option_boolean("consider_bosh_secure"); | 46 local consider_bosh_secure = module:get_option_boolean("consider_bosh_secure"); |
| 47 local cross_domain = module:get_option("cross_domain_bosh"); | 47 local cross_domain = module:get_option("cross_domain_bosh"); |
| 48 | 48 |
| 49 if cross_domain ~= nil then | 49 if cross_domain ~= nil then |
| 50 module:log("info", "The 'cross_domain_bosh' option has been deprecated"); | 50 module:log("info", "The 'cross_domain_bosh' option has been deprecated"); |
| 51 module:depends("http_crossdomain"); | |
| 52 end | 51 end |
| 53 | 52 |
| 54 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; | 53 local t_insert, t_remove, t_concat = table.insert, table.remove, table.concat; |
| 55 | 54 |
| 56 -- All sessions, and sessions that have no requests open | 55 -- All sessions, and sessions that have no requests open |
