Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fix set_rmilter_reply example #836

Merged
merged 1 commit into from Aug 10, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/lua/lua_task.c
Expand Up @@ -544,8 +544,9 @@ LUA_FUNCTION_DEF (task, get_settings_id);
* @param {any} obj any lua object that corresponds to the settings format
* @example
task:set_rmilter_reply({
add_headers = {{'X-Lua', 'test'}},
remove_headers = {'DKIM-Signature},
add_headers = {['X-Lua'] = 'test'},
-- 1 is the position of header to remove
remove_headers = {['DKIM-Signature'] = 1},
})
*/
LUA_FUNCTION_DEF (task, set_rmilter_reply);
Expand Down