diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-03 19:22:01 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-03 19:22:01 +0200 |
commit | ea980269cc884432741101ef7eaa54223ce8584d (patch) | |
tree | 40ec59ce744784c67f4e6d5f4ca7d40e8c3f18fd /doc | |
parent | f6c928c8a3d77a1f49e2e2ac0fa2ea74f6d5d170 (diff) | |
download | prosody-ea980269cc884432741101ef7eaa54223ce8584d.tar.gz prosody-ea980269cc884432741101ef7eaa54223ce8584d.zip |
doc/session: As far as I remember, sessions have had a close method, not disconnect
Diffstat (limited to 'doc')
-rw-r--r-- | doc/session.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/session.txt b/doc/session.txt index fc6eec17..c5dd361e 100644 --- a/doc/session.txt +++ b/doc/session.txt @@ -20,7 +20,7 @@ session { -- methods --
send(x) -- converts x to a string, and writes it to the connection
- disconnect(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases
+ close(x) -- Disconnect the user and clean up the session, best call sessionmanager.destroy_session() instead of this in most cases
}
if session.full_jid (also session.roster and session.resource) then this is a "connected resource"
|