projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0259335
)
sessionmanager: Rename argument to avoid name clash with local variable [luacheck]
author
Matthew Wild
<mwild1@gmail.com>
Wed, 6 May 2015 18:58:33 +0000
(19:58 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 6 May 2015 18:58:33 +0000
(19:58 +0100)
core/sessionmanager.lua
patch
|
blob
|
history
diff --git
a/core/sessionmanager.lua
b/core/sessionmanager.lua
index 9ff42aed15f1e0b5b3af5965a0d58fd97cdb6c81..33cc3d21f6ec4c11d55e8e2198288f78e43fcdb4 100644
(file)
--- a/
core/sessionmanager.lua
+++ b/
core/sessionmanager.lua
@@
-208,8
+208,8
@@
function send_to_available_resources(username, host, stanza)
return count;
end
-function send_to_interested_resources(user, host, stanza)
- local jid = user.."@"..host;
+function send_to_interested_resources(user
name
, host, stanza)
+ local jid = user
name
.."@"..host;
local count = 0;
local user = bare_sessions[jid];
if user then