[Tkabber-dev] r1589 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Mon Oct 27 21:30:54 MSK 2008


Author: sergei
Date: 2008-10-27 21:30:54 +0300 (Mon, 27 Oct 2008)
New Revision: 1589

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/messages.tcl
Log:
	* messages.tcl: Don't send subscription request if it's to be sent
	  through non-existent XMPP connection.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-10-26 06:03:40 UTC (rev 1588)
+++ trunk/tkabber/ChangeLog	2008-10-27 18:30:54 UTC (rev 1589)
@@ -1,3 +1,8 @@
+2008-10-27  Sergei Golovan  <sgolovan at nes.ru>
+
+	* messages.tcl: Don't send subscription request if it's to be sent
+	  through non-existent XMPP connection.
+
 2008-10-26  Sergei Golovan  <sgolovan at nes.ru>
 
 	* msgs/de.msg: Updated German translation (thanks to Roger Sondermann).

Modified: trunk/tkabber/messages.tcl
===================================================================
--- trunk/tkabber/messages.tcl	2008-10-26 06:03:40 UTC (rev 1588)
+++ trunk/tkabber/messages.tcl	2008-10-27 18:30:54 UTC (rev 1589)
@@ -880,7 +880,9 @@
 	}
     }
 
-    send_subscribe $mw $xlib
+    if {[info exists xlib]} {
+	send_subscribe $mw $xlib
+    }
 }
 
 ###############################################################################



More information about the Tkabber-dev mailing list