# HG changeset patch # User Kim Alvefur # Date 1526832675 -7200 # Node ID b2b129f699edcbfef3f08684247510e8708ffb61 # Parent 0f2dd63975695421a86dcf324acdecabda3bebbb mod_pastebin: Silence some warnings [luacheck] diff -r 0f2dd6397569 -r b2b129f699ed mod_pastebin/mod_pastebin.lua --- 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, {