diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-24 15:25:52 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-24 15:25:52 +0000 |
commit | 184b6e6dcc6ae94319dbcbc69409bdae47210cfc (patch) | |
tree | b7ae071bd3b8bb8c4edaea69790fc452c69c9af8 /libs/core | |
parent | 1ff791f765950d19ef65b129f2cdc32a6bc6b26e (diff) |
* luci/libs/core: Small translation fix for get_bytecode()
Diffstat (limited to 'libs/core')
-rw-r--r-- | libs/core/luasrc/util.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index 31e3b10a33..700a4128f4 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) |