aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
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)