equal
deleted
inserted
replaced
87 return ("local throttle_%s = rates.%s;"):format(throttle, throttle); |
87 return ("local throttle_%s = rates.%s;"):format(throttle, throttle); |
88 end; |
88 end; |
89 }; |
89 }; |
90 }; |
90 }; |
91 |
91 |
92 local function include_dep(dep, code) |
92 local function include_dep(dependency, code) |
93 local dep, dep_param = dep:match("^([^:]+):?(.*)$"); |
93 local dep, dep_param = dependency:match("^([^:]+):?(.*)$"); |
94 local dep_info = available_deps[dep]; |
94 local dep_info = available_deps[dep]; |
95 if not dep_info then |
95 if not dep_info then |
96 module:log("error", "Dependency not found: %s", dep); |
96 module:log("error", "Dependency not found: %s", dep); |
97 return; |
97 return; |
98 end |
98 end |