Software /
code /
prosody
Diff
plugins/mod_proxy65.lua @ 9146:6bd3602a70e2
mod_proxy65: Split module:shared() into multiple calls, multiple params may be deprecated soon
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 Aug 2018 21:14:43 +0100 |
parent | 8728:41c959c5c84b |
child | 9645:cc642c9c5ad5 |
line wrap: on
line diff
--- a/plugins/mod_proxy65.lua Tue Aug 07 13:32:11 2018 +0100 +++ b/plugins/mod_proxy65.lua Tue Aug 07 21:14:43 2018 +0100 @@ -16,7 +16,8 @@ local server = require "net.server"; local portmanager = require "core.portmanager"; -local sessions, transfers = module:shared("sessions", "transfers"); +local sessions = module:shared("sessions"); +local transfers = module:shared("transfers"); local max_buffer_size = 4096; local listener = {};