aboutsummaryrefslogtreecommitdiffstats
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
commit0ba0df145e016ce7070d47eab0d28a16d0fe6435 (patch)
tree40ec59ce744784c67f4e6d5f4ca7d40e8c3f18fd /doc
parentac5a68baa5d74a79b96013ee2660419026a43b32 (diff)
downloadprosody-0ba0df145e016ce7070d47eab0d28a16d0fe6435.tar.gz
prosody-0ba0df145e016ce7070d47eab0d28a16d0fe6435.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"