Changeset

7535:4a3a3098d9bb

doc/session: As far as I remember, sessions have had a close method, not disconnect
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2016 19:22:01 +0200
parents 7534:ba782a093b14
children 7536:3f8520b59677
files doc/session.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/session.txt	Fri Jul 29 14:58:42 2016 +0100
+++ b/doc/session.txt	Wed Aug 03 19:22:01 2016 +0200
@@ -20,7 +20,7 @@
 	
 	-- 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"