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

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Oct 18 09:19:23 MSD 2010


Author: Totktonada
Date: 2010-10-18 09:19:22 +0400 (Mon, 18 Oct 2010)
New Revision: 422

Modified:
   trunk/plugins/juick/juick.tcl
Log:
Juick: Small fix in auto send message.

Modified: trunk/plugins/juick/juick.tcl
===================================================================
--- trunk/plugins/juick/juick.tcl	2010-10-16 10:08:43 UTC (rev 421)
+++ trunk/plugins/juick/juick.tcl	2010-10-18 05:19:22 UTC (rev 422)
@@ -94,7 +94,7 @@
     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]} {
           return [send_by_timeout last_private_time $run_cmd];



More information about the Tkabber-dev mailing list