summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-rpc/luasrc/controller/rpc.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-07-15 22:30:45 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-07-15 22:30:45 +0200
commit16047d03c54df4474cb675a9ce98d06aad5a656b (patch)
tree5f7ca2aeea0e91e9783301707497e4442be90f8a /modules/luci-mod-rpc/luasrc/controller/rpc.lua
parente7f57e0caf489586335206a262e6e4660ce1f73f (diff)
luci-mod-rpc: add missing luci config require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-mod-rpc/luasrc/controller/rpc.lua')
-rw-r--r--modules/luci-mod-rpc/luasrc/controller/rpc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-mod-rpc/luasrc/controller/rpc.lua b/modules/luci-mod-rpc/luasrc/controller/rpc.lua
index 862e5839f2..0051571701 100644
--- a/modules/luci-mod-rpc/luasrc/controller/rpc.lua
+++ b/modules/luci-mod-rpc/luasrc/controller/rpc.lua
@@ -43,6 +43,8 @@ function rpc_auth()
local ltn12 = require "luci.ltn12"
local util = require "luci.util"
+ require "luci.config"
+
local loginstat
local server = {}