[Tkabber-dev] r192 - trunk/plugins/bldjid

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Mar 31 02:06:52 MSD 2009


Author: bigote
Date: 2009-03-31 02:06:52 +0400 (Tue, 31 Mar 2009)
New Revision: 192

Modified:
   trunk/plugins/bldjid/bldjid.tcl
Log:
All 'return stop' commands changed to just 'return'in smart_enter_exit_message
to avoid possible problems with hooks.


Modified: trunk/plugins/bldjid/bldjid.tcl
===================================================================
--- trunk/plugins/bldjid/bldjid.tcl	2009-03-30 17:46:10 UTC (rev 191)
+++ trunk/plugins/bldjid/bldjid.tcl	2009-03-30 22:06:52 UTC (rev 192)
@@ -69,7 +69,7 @@
 			return
 		}
 	} else {
-		return stop
+		return
 	}
 # TODO: Add check if the current group is valid 
 # in case options(filter_admin_rooms) is enabled
@@ -90,7 +90,7 @@
 	if {[::chat::is_opened $chatid]} {
 		if {[::chat::is_groupchat $chatid]} {
 			if {[::xmpp::jid::resource $jid] == ""} {
-				return stop
+				return
 			}
 			set nick [::chat::get_nick $xlib $jid groupchat]
 			set ts ""
@@ -111,7 +111,7 @@
 					foreach item $tmp_user_list {
 						if {[lsearch -exact [lindex $item 2] $real_jid] >= 0} {
 							unset tmp_user_list
-							return stop
+							return
 						}
 					}
 					unset tmp_user_list



More information about the Tkabber-dev mailing list