Skip to content

Commit bf7578b

Browse files
vmo69sirainen
authored andcommitted
data/lua: Add dovecot.var_expand() function
1 parent df065e8 commit bf7578b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

data/lua.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ export const lua_functions = [
9090
`Generate new event. If \`parent\` is not specified, the lua script is used
9191
as the parent.`
9292
},
93+
{
94+
name: 'var_expand',
95+
args: {
96+
input: {
97+
type: 'string',
98+
text: 'String containing variables to expand.',
99+
}
100+
},
101+
tags: [ 'dovecot' ],
102+
text:
103+
`Expand variables in the input string, [[link,settings_variables]].`
104+
},
93105

94106
{
95107
name: 'base64.encode',

0 commit comments

Comments
 (0)