mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
mod_storage_sql: Use is_stanza() from util.stanza
This commit is contained in:
parent
2d642bfb76
commit
b89b681cd2
1 changed files with 1 additions and 3 deletions
|
@ -7,10 +7,8 @@ local xml_parse = require "util.xml".parse;
|
|||
local uuid = require "util.uuid";
|
||||
local resolve_relative_path = require "util.paths".resolve_relative_path;
|
||||
|
||||
local stanza_mt = require"util.stanza".stanza_mt;
|
||||
local getmetatable = getmetatable;
|
||||
local is_stanza = require"util.stanza".is_stanza;
|
||||
local t_concat = table.concat;
|
||||
local function is_stanza(x) return getmetatable(x) == stanza_mt; end
|
||||
|
||||
local noop = function() end
|
||||
local unpack = unpack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue