[Tkabber-dev] r365 - trunk/plugins/urlcmd

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Aug 17 19:35:42 MSD 2010


Author: gebb
Date: 2010-08-17 19:35:42 +0400 (Tue, 17 Aug 2010)
New Revision: 365

Modified:
   trunk/plugins/urlcmd/urlcmd.tcl
Log:
urlcmd.tcl: Minor fix. Url list is now shown in a single message.

Modified: trunk/plugins/urlcmd/urlcmd.tcl
===================================================================
--- trunk/plugins/urlcmd/urlcmd.tcl	2010-07-23 18:50:06 UTC (rev 364)
+++ trunk/plugins/urlcmd/urlcmd.tcl	2010-08-17 15:35:42 UTC (rev 365)
@@ -113,11 +113,13 @@
 #
 proc urlcmd::listurls {urls chatid} {
 	set ix 0
-	show info $chatid \n[::msgcat::mc "Available URL list"]
+	set msg ""
+	append msg \n[::msgcat::mc "Available URL list"]
 	foreach url $urls {
-		show info $chatid "$ix: $url"
+		append msg "\n$ix: $url"
 		incr ix
 	}
+	show info $chatid $msg
 }
 
 # $type should be either "info" or "error"



More information about the Tkabber-dev mailing list