Software /
code /
prosody
Comparison
core/rostermanager.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:06:26 +0100 |
parent | 8496:9b81c22d5b54 |
child | 8717:9ddd0fbbe53a |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
21 local um_user_exists = require "core.usermanager".user_exists; | 21 local um_user_exists = require "core.usermanager".user_exists; |
22 local st = require "util.stanza"; | 22 local st = require "util.stanza"; |
23 local storagemanager = require "core.storagemanager"; | 23 local storagemanager = require "core.storagemanager"; |
24 | 24 |
25 local _ENV = nil; | 25 local _ENV = nil; |
26 -- luacheck: std none | |
26 | 27 |
27 local save_roster; -- forward declaration | 28 local save_roster; -- forward declaration |
28 | 29 |
29 local function add_to_roster(session, jid, item) | 30 local function add_to_roster(session, jid, item) |
30 if session.roster then | 31 if session.roster then |