[Tkabber-dev] r1617 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Nov 26 00:07:14 MSK 2008


Author: sergei
Date: 2008-11-26 00:07:14 +0300 (Wed, 26 Nov 2008)
New Revision: 1617

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/login.tcl
Log:
	* login.tcl: Fixed bug with incorrect disconnecting from the server
	  if authentication failed.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-11-23 13:58:22 UTC (rev 1616)
+++ trunk/tkabber/ChangeLog	2008-11-25 21:07:14 UTC (rev 1617)
@@ -1,3 +1,8 @@
+2008-11-25  Sergei Golovan  <sgolovan at nes.ru>
+
+	* login.tcl: Fixed bug with incorrect disconnecting from the server
+	  if authentication failed.
+
 2008-11-23  Sergei Golovan  <sgolovan at nes.ru>
 
 	* muc.tcl: Use the last muc#user attachment for processing to

Modified: trunk/tkabber/login.tcl
===================================================================
--- trunk/tkabber/login.tcl	2008-11-23 13:58:22 UTC (rev 1616)
+++ trunk/tkabber/login.tcl	2008-11-25 21:07:14 UTC (rev 1617)
@@ -796,7 +796,9 @@
 				       [error_to_string $xml]] \
 		-type user -buttons {ok} -default 0 -cancel 0
 	}
-	logout $xlib
+	# Connection isn't authenticated here, so disconnecting without
+	# a logout.
+	::xmpp::disconnect $xlib
     }
 }
 



More information about the Tkabber-dev mailing list