Use table.unpack() with Lua5.2 instead of deprecated unpack()

This commit is contained in:
Anatol Pomozov 2015-05-12 10:23:27 -07:00
parent 1542722055
commit 3b146b834c
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ local schar = string.char
local sbyte = string.byte
local tcat = table.concat
local tins = table.insert
local unpack = unpack or table.unpack -- v5.1: unpack, v5.2: table.unpack
local naughty = require("naughty.core")
--- Notification library, dbus bindings