aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index d289558c..34a11c03 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -179,18 +179,18 @@ function interface_mt:__tostring()
end
interface.log = log;
-function interface:debug(msg, ...) --luacheck: ignore 212/self
+function interface:debug(msg, ...)
self.log("debug", msg, ...);
end
interface.noise = interface.debug;
-function interface:noise(msg, ...) --luacheck: ignore 212/self
+function interface:noise(msg, ...)
if cfg.verbose then
return self:debug(msg, ...);
end
end
-function interface:error(msg, ...) --luacheck: ignore 212/self
+function interface:error(msg, ...)
self.log("error", msg, ...);
end