Rename helper.node -> helper.get_node

This commit is contained in:
Insality
2020-01-30 01:01:26 +03:00
parent 09ae21a367
commit 9223862dc2
11 changed files with 33 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ local empty = function() end
function M.init(self, node, seconds_from, seconds_to, callback)
self.node = helper.node(node)
self.node = helper.get_node(node)
seconds_from = math.max(seconds_from, 0)
seconds_to = math.max(seconds_to or 0, 0)
callback = callback or empty