mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_roster: Remove unused variable [luacheck]
This commit is contained in:
parent
59c86a104c
commit
1db5cd0ec4
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ module:hook_global("user-deleted", function(event)
|
|||
local username, host = event.username, event.host;
|
||||
local origin = event.origin or prosody.hosts[host];
|
||||
if host ~= module.host then return end
|
||||
local bare = username .. "@" .. host;
|
||||
local roster = rm_load_roster(username, host);
|
||||
for jid, item in pairs(roster) do
|
||||
if jid then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue