Diff

doc/session.txt @ 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
parent 199:eccf66b42bd7
child 8728:41c959c5c84b
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"