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

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Fri Jan 26 21:54:46 MSK 2007


Author: sergei
Date: 2007-01-26 21:54:43 +0300 (Fri, 26 Jan 2007)
New Revision: 884

Modified:
   trunk/tkabber-plugins/ChangeLog
   trunk/tkabber-plugins/debug/debug.tcl
Log:
	* debug/debug.tcl: Added richtext and mucignore modules to debug
	  modules. Fixed bug with unknown debug module.


Modified: trunk/tkabber-plugins/ChangeLog
===================================================================
--- trunk/tkabber-plugins/ChangeLog	2007-01-26 17:56:20 UTC (rev 883)
+++ trunk/tkabber-plugins/ChangeLog	2007-01-26 18:54:43 UTC (rev 884)
@@ -5,6 +5,9 @@
 	  whiteboard/whiteboard.tcl: Removed explicit tab updates on
 	  raise.
 
+	* debug/debug.tcl: Added richtext and mucignore modules to debug
+	  modules. Fixed bug with unknown debug module.
+
 2006-01-11  Sergei Golovan <sgolovan at nes.ru>
 
 	* cyrillize/cyrillize.tcl: Added backward conversion from russian

Modified: trunk/tkabber-plugins/debug/debug.tcl
===================================================================
--- trunk/tkabber-plugins/debug/debug.tcl	2007-01-26 17:56:20 UTC (rev 883)
+++ trunk/tkabber-plugins/debug/debug.tcl	2007-01-26 18:54:43 UTC (rev 884)
@@ -44,6 +44,7 @@
 			   logger       \
 			   login        \
 			   message      \
+			   mucignore    \
 			   negotiate    \
 			   nick         \
 			   pep          \
@@ -53,6 +54,7 @@
 			   privacy      \
 			   pubsub       \
 			   register     \
+			   richtext     \
 			   roster       \
 			   search       \
 			   si           \
@@ -120,7 +122,8 @@
 			       $module $msg]
     }
 
-    if {!$options(log_to_window) || !$debug($module)} {
+    if {!$options(log_to_window) || ![info exists debug($module)] || \
+	    !$debug($module)} {
         return
     }
 



More information about the Tkabber-dev mailing list