comparison mod_firewall/actions.lib.lua @ 950:bea0ef13575c

mod_firewall/actions: Remove unused extra argument.
author Kim Alvefur <zash@zash.se>
date Wed, 03 Apr 2013 19:42:04 +0200
parents b729414b4bf1
children 9b21b91c2d96
comparison
equal deleted inserted replaced
949:b729414b4bf1 950:bea0ef13575c
133 end 133 end
134 return route_modify(("error_reply(stanza, %s, %s, %s)"):format(error_type, error, text), nil, true); 134 return route_modify(("error_reply(stanza, %s, %s, %s)"):format(error_type, error, text), nil, true);
135 end 135 end
136 136
137 function action_handlers.REDIRECT(where) 137 function action_handlers.REDIRECT(where)
138 return route_modify("clone(stanza)", where, true, true); 138 return route_modify("clone(stanza)", where, true);
139 end 139 end
140 140
141 function action_handlers.COPY(where) 141 function action_handlers.COPY(where)
142 return route_modify("clone(stanza)", where, true, false); 142 return route_modify("clone(stanza)", where, false);
143 end 143 end
144 144
145 function action_handlers.LOG(string) 145 function action_handlers.LOG(string)
146 local level = string:match("^%[(%a+)%]") or "info"; 146 local level = string:match("^%[(%a+)%]") or "info";
147 string = string:gsub("^%[%a+%] ?", ""); 147 string = string:gsub("^%[%a+%] ?", "");