Rename helper.get_node -> helper.node

This commit is contained in:
Insality
2019-12-05 21:34:16 +03:00
parent 280b57ca3c
commit e45dce150d
10 changed files with 18 additions and 16 deletions

View File

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