[Tkabber-dev] r420 - trunk/plugins/juick

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sat Oct 16 14:04:20 MSD 2010


Author: Totktonada
Date: 2010-10-16 14:04:20 +0400 (Sat, 16 Oct 2010)
New Revision: 420

Modified:
   trunk/plugins/juick/BUGS
   trunk/plugins/juick/juick.tcl
Log:
Juick: small fixes.

Modified: trunk/plugins/juick/BUGS
===================================================================
--- trunk/plugins/juick/BUGS	2010-10-16 02:16:52 UTC (rev 419)
+++ trunk/plugins/juick/BUGS	2010-10-16 10:04:20 UTC (rev 420)
@@ -1,4 +1,5 @@
-# You can report about all bugs this plugin via jabber: totktonada at totktonada.ru
+# You can report about all bugs this plugin via jabber: totktonada at totktonada.ru.
 # Mathed: "-". Fixed: "+".
 
 - Citate with smile in middle.
+- Random order of sending cached messages and PM.

Modified: trunk/plugins/juick/juick.tcl
===================================================================
--- trunk/plugins/juick/juick.tcl	2010-10-16 02:16:52 UTC (rev 419)
+++ trunk/plugins/juick/juick.tcl	2010-10-16 10:04:20 UTC (rev 420)
@@ -94,9 +94,9 @@
     if {[is_juick $chatid]} {
        set run_cmd [list hook::run chat_send_message_hook $chatid $user $body $type]
 
-       if {[regexp {#(\d+)(\d+)?[ ]+[^ ]?.*} $body]} {
+       if {[regexp {^#(\d+)(\d+)?[ ]+[^ ]?.*} $body]} {
           return [send_by_timeout last_message_time $run_cmd];
-       } elseif {[regexp {PM @[^ ]+[ ]+[^ ]?.*} $body]} {
+       } elseif {[regexp {^PM @[^ ]+[ ]+[^ ]?.*} $body]} {
           return [send_by_timeout last_private_time $run_cmd];
        }
     }



More information about the Tkabber-dev mailing list