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
commita7b623769f159b1822ec1ec3ee78886a2bcb1a3f (patch)
tree3d0faeaba7d6c43bba11aa831dc59eaf1d9fb731 /core/rostermanager.lua
parent7e460fd43feab7c2fb6770415c110eaa14aa8304 (diff)
downloadprosody-a7b623769f159b1822ec1ec3ee78886a2bcb1a3f.tar.gz
prosody-a7b623769f159b1822ec1ec3ee78886a2bcb1a3f.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