summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/extensions.lua.sample6
-rw-r--r--pbx/pbx_lua.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/configs/extensions.lua.sample b/configs/extensions.lua.sample
index 776128120..691e461fb 100644
--- a/configs/extensions.lua.sample
+++ b/configs/extensions.lua.sample
@@ -78,9 +78,9 @@ TRUNKMSD = 1
-- channel.func_name(1,2,3):set("value")
-- value = channel.func_name(1,2,3):get()
--
--- channel["func_name(1|2|3)"]:set("value")
--- channel["func_name(1|2|3)"] = "value"
--- value = channel["func_name(1|2|3)"]:get()
+-- channel["func_name(1,2,3)"]:set("value")
+-- channel["func_name(1,2,3)"] = "value"
+-- value = channel["func_name(1,2,3)"]:get()
--
-- Note the use of the ':' operator to access the get() and set()
-- methods.
diff --git a/pbx/pbx_lua.c b/pbx/pbx_lua.c
index 143bea5e4..a23b31ee2 100644
--- a/pbx/pbx_lua.c
+++ b/pbx/pbx_lua.c
@@ -301,7 +301,7 @@ static int lua_get_variable_value(lua_State *L)
* seen in extensions.lua.
*
* \code
- * channel.variable:set()
+ * channel.variable:set("value")
* \endcode
*/
static int lua_set_variable_value(lua_State *L)