Changeset

6656:58c111a39d27

moduleapi: Add luacheck annotation
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:02:44 +0100 (2015-05-06)
parents 6655:a99ed5f5f709
children 6659:0a494394cd3e
files core/moduleapi.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/moduleapi.lua	Wed May 06 19:02:07 2015 +0100
+++ b/core/moduleapi.lua	Wed May 06 19:02:44 2015 +0100
@@ -55,7 +55,7 @@
 	self.host = "*";
 	-- Update the logger
 	local _log = logger.init("mod_"..self.name);
-	self.log = function (self, ...) return _log(...); end;
+	self.log = function (self, ...) return _log(...); end; --luacheck: ignore self
 	self._log = _log;
 	self.global = true;
 end