aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-05-18 01:59:55 +0200
committerKim Alvefur <zash@zash.se>2017-05-18 01:59:55 +0200
commit0ff70692d17e248804e485860a1e48f2771f0a79 (patch)
tree076e1cdfe9aae7d573efbe584272b9cc54822d03
parent8c3f6bd236ef6addc1dda80d42d6fd73acc4e1f5 (diff)
downloadprosody-0ff70692d17e248804e485860a1e48f2771f0a79.tar.gz
prosody-0ff70692d17e248804e485860a1e48f2771f0a79.zip
rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a)
-rw-r--r--core/rostermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index dc60ccdf..c94482c4 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -329,7 +329,7 @@ local function unsubscribed(username, host, jid)
end
end
local success = (pending or is_subscribed) and save_roster(username, host, roster, jid);
- return success, pending, subscribed;
+ return success, pending, is_subscribed;
end
local function process_outbound_subscription_request(username, host, jid)