mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
Merge 0.9->0.10
This commit is contained in:
commit
26b55b19d6
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ function retire_session(session, reason)
|
|||
|
||||
function session.send(data) log("debug", "Discarding data sent to resting session: %s", tostring(data)); end
|
||||
function session.data(data) log("debug", "Discarding data received from resting session: %s", tostring(data)); end
|
||||
session.sends2s = session.send;
|
||||
return setmetatable(session, resting_session);
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue