From 184b6e6dcc6ae94319dbcbc69409bdae47210cfc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 24 Jul 2008 15:25:52 +0000 Subject: [PATCH] * luci/libs/core: Small translation fix for get_bytecode() --- libs/core/luasrc/util.lua | 4 ++-- 1 file 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) -- 2.11.0