comparison mod_conversejs/mod_conversejs.lua @ 3329:43d0e298ddda

mod_conversejs: Explicitly depend on mod_http Not required since mod_bosh and mod_websocket already depend on mod_http, but explicit > implicit. hg: Enter commit message. Lines beginning with 'HG:' are removed.
author Kim Alvefur <zash@zash.se>
date Sun, 23 Sep 2018 18:54:52 +0200
parents 3114b403362d
children d98341bca458
comparison
equal deleted inserted replaced
3328:7d39ffd058d5 3329:43d0e298ddda
1 -- mod_conversejs 1 -- mod_conversejs
2 -- Copyright (C) 2017 Kim Alvefur 2 -- Copyright (C) 2017 Kim Alvefur
3 3
4 local json_encode = require"util.json".encode; 4 local json_encode = require"util.json".encode;
5 5
6 module:depends"http";
6 module:depends"bosh"; 7 module:depends"bosh";
7 8
8 local has_ws = pcall(function () 9 local has_ws = pcall(function ()
9 module:depends("websocket"); 10 module:depends("websocket");
10 end); 11 end);