Changeset

3033:b2b129f699ed

mod_pastebin: Silence some warnings [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 20 May 2018 18:11:15 +0200
parents 3032:0f2dd6397569
children 3034:6e9096b66704
files mod_pastebin/mod_pastebin.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pastebin/mod_pastebin.lua	Sun May 20 18:10:12 2018 +0200
+++ b/mod_pastebin/mod_pastebin.lua	Sun May 20 18:11:15 2018 +0200
@@ -158,6 +158,7 @@
 });
 
 local function set_pastes_metatable()
+	-- luacheck: ignore 212/pastes 431/pastes
 	if expire_after == 0 then
 		local dm = require "util.datamanager";
 		setmetatable(pastes, {