comparison mod_firewall/mod_firewall.lua @ 1051:c66ea26e4224

mod_firewall: Remove print()
author Kim Alvefur <zash@zash.se>
date Wed, 05 Jun 2013 21:13:20 +0200
parents c0850793b716
children 80f0a3231c59
comparison
equal deleted inserted replaced
1050:a0aff903659b 1051:c66ea26e4224
326 326
327 return chain_handlers; 327 return chain_handlers;
328 end 328 end
329 329
330 local function compile_handler(code_string, filename) 330 local function compile_handler(code_string, filename)
331 print(code_string)
332 -- Prepare event handler function 331 -- Prepare event handler function
333 local chunk, err = loadstring(code_string, "="..filename); 332 local chunk, err = loadstring(code_string, "="..filename);
334 if not chunk then 333 if not chunk then
335 return nil, "Error compiling (probably a compiler bug, please report): "..err; 334 return nil, "Error compiling (probably a compiler bug, please report): "..err;
336 end 335 end