[Tkabber-dev] r1703 - in trunk/tkabber-plugins: . debug

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Mar 8 21:08:47 MSK 2009


Author: sergei
Date: 2009-03-08 21:08:47 +0300 (Sun, 08 Mar 2009)
New Revision: 1703

Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/debug/debug.tcl
Log:
	* debug/debug.tcl: Fixed bug with plugin unloading.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2009-03-07 20:30:16 UTC (rev 1702)
+++ trunk/tkabber-plugins/ChangeLog	2009-03-08 18:08:47 UTC (rev 1703)
@@ -1,3 +1,7 @@
+2009-03-08  Sergei Golovan <sgolovan at nes.ru>
+
+	* debug/debug.tcl: Fixed bug with plugin unloading.
+
 2009-03-07  Sergei Golovan <sgolovan at nes.ru>
 
 	* checkers/checkers.tcl, chess/chess.tcl, renju/renju.tcl,

Modified: trunk/tkabber-plugins/debug/debug.tcl
===================================================================
--- trunk/tkabber-plugins/debug/debug.tcl	2009-03-07 20:30:16 UTC (rev 1702)
+++ trunk/tkabber-plugins/debug/debug.tcl	2009-03-08 18:08:47 UTC (rev 1703)
@@ -147,7 +147,7 @@
 		pconnect::socks5
 		xmpp
 		xmpp::transport::poll} {
-	if {[llength [info procs ::${ns}::Debug:debug]] == 0} {
+	if {[llength [info procs ::${ns}::Debug:debug]] > 0} {
 	    rename ::${ns}::Debug ""
 	    rename ::${ns}::Debug:debug ::${ns}::Debug
 	}



More information about the Tkabber-dev mailing list