aboutsummaryrefslogtreecommitdiffstats
path: root/core/rostermanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-04-03 19:13:35 +0100
committerMatthew Wild <mwild1@gmail.com>2015-04-03 19:13:35 +0100
commitc71e65917c71c44c90bb6298f87d1d9cbdcab283 (patch)
tree3d0faeaba7d6c43bba11aa831dc59eaf1d9fb731 /core/rostermanager.lua
parente866ef555a9af6c3d0dbeea2ee93b6b935c4c146 (diff)
downloadprosody-c71e65917c71c44c90bb6298f87d1d9cbdcab283.tar.gz
prosody-c71e65917c71c44c90bb6298f87d1d9cbdcab283.zip
rostermanager: Remove unused parameter
Diffstat (limited to 'core/rostermanager.lua')
-rw-r--r--core/rostermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index 19d07c94..7e165c27 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -227,7 +227,7 @@ function is_contact_pending_in(username, host, jid)
local roster = load_roster(username, host);
return roster[false].pending[jid];
end
-function set_contact_pending_in(username, host, jid, pending)
+function set_contact_pending_in(username, host, jid)
local roster = load_roster(username, host);
local item = roster[jid];
if item and (item.subscription == "from" or item.subscription == "both") then