aboutsummaryrefslogtreecommitdiff
path: root/doc
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
commit8c5473df58b22b83e6ed6b12d4b11653fb40c237 (patch)
treeb7c1a2b65086ce048eaec305c13e584776b3fc8d /doc
parent400ca50556c530093e46352001aeffa7df811a62 (diff)
downloadprosody-im-server-8c5473df58b22b83e6ed6b12d4b11653fb40c237.tar
prosody-im-server-8c5473df58b22b83e6ed6b12d4b11653fb40c237.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.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"