aboutsummaryrefslogtreecommitdiffstats
path: root/doc/session.txt
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-03 19:22:01 +0200
committerKim Alvefur <zash@zash.se>2016-08-03 19:22:01 +0200
commitea980269cc884432741101ef7eaa54223ce8584d (patch)
tree40ec59ce744784c67f4e6d5f4ca7d40e8c3f18fd /doc/session.txt
parentf6c928c8a3d77a1f49e2e2ac0fa2ea74f6d5d170 (diff)
downloadprosody-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/session.txt')
-rw-r--r--doc/session.txt2
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"