Software /
code /
prosody-modules
Comparison
mod_candy/mod_candy.lua @ 1864:991a5f74f848
mod_candy: Update to work with a stable release instead of git (which no longer works)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Sep 2015 16:51:16 +0200 |
parent | 1384:f67eacb1ac9f |
child | 2440:7814a5c7fee8 |
comparison
equal
deleted
inserted
replaced
1863:92602cfac751 | 1864:991a5f74f848 |
---|---|
1 -- mod_candy.lua | 1 -- mod_candy.lua |
2 -- Copyright (C) 2013 Kim Alvefur | 2 -- Copyright (C) 2013 Kim Alvefur |
3 -- | |
4 -- Run this in www_files | |
5 -- curl -L http://github.com/candy-chat/candy/tarball/master | tar xzfv - --strip-components=1 | |
6 | 3 |
7 local json_encode = require"util.json".encode; | 4 local json_encode = require"util.json".encode; |
8 | 5 |
9 module:depends"bosh"; | 6 module:depends"bosh"; |
10 local serve = module:depends"http_files".serve; | 7 local serve = module:depends"http_files".serve; |