equal
deleted
inserted
replaced
168 table.insert(conditions, "("..table.concat(clause, " "..op.." ")..")"); |
168 table.insert(conditions, "("..table.concat(clause, " "..op.." ")..")"); |
169 end |
169 end |
170 return table.concat(conditions, " or "), { "time:hour,min" }; |
170 return table.concat(conditions, " or "), { "time:hour,min" }; |
171 end |
171 end |
172 |
172 |
|
173 function condition_handlers.LIMIT(name) |
|
174 return ("not throttle_%s:poll(1)"):format(name), { "throttle:"..name }; |
|
175 end |
|
176 |
173 return condition_handlers; |
177 return condition_handlers; |