summaryrefslogtreecommitdiffhomepage
path: root/libs/core/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-24 15:25:52 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-24 15:25:52 +0000
commit184b6e6dcc6ae94319dbcbc69409bdae47210cfc (patch)
treeb7ae071bd3b8bb8c4edaea69790fc452c69c9af8 /libs/core/luasrc
parent1ff791f765950d19ef65b129f2cdc32a6bc6b26e (diff)
* luci/libs/core: Small translation fix for get_bytecode()
Diffstat (limited to 'libs/core/luasrc')
-rw-r--r--libs/core/luasrc/util.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua
index 31e3b10a3..700a4128f 100644
--- a/libs/core/luasrc/util.lua
+++ b/libs/core/luasrc/util.lua
@@ -440,8 +440,8 @@ end
--- Return the current runtime bytecode of the given data. The byte code
-- will be stripped before it is returned if the given value is a function.
--- @param val Function value to return as bytecode
--- @return String value containing the bytecode of the given function
+-- @param val Value to return as bytecode
+-- @return String value containing the bytecode of the given data
function get_bytecode(val)
if type(val) == "function" then
local code = string.dump(val)