Fix is_available call

This commit is contained in:
hrsh7th
2021-08-24 13:49:05 +09:00
parent 7873adf9a8
commit cbb80af6dd

View File

@@ -177,7 +177,7 @@ end
---Return the source is available or not. ---Return the source is available or not.
source.is_available = function(self) source.is_available = function(self)
if self.source.is_available then if self.source.is_available then
return self.source.is_available() return self.source:is_available()
end end
return true return true
end end