aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commitc5fc8dc1c188d9cd1283aabb8848f975cac71d71 (patch)
tree076e1cdfe9aae7d573efbe584272b9cc54822d03 /core
parentbd52588649aae5fffa05f1f60d3a9dcd27281271 (diff)
downloadprosody-c5fc8dc1c188d9cd1283aabb8848f975cac71d71.tar.gz
prosody-c5fc8dc1c188d9cd1283aabb8848f975cac71d71.zip
rostermanager: Use correct variable (missed one place while renaming variable in b98006bfd97a)
Diffstat (limited to 'core')
-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)