[Tkabber-dev] r844 - trunk/tkabber/plugins/chat

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Dec 26 16:08:10 MSK 2006


Author: sergei
Date: 2006-12-26 16:08:08 +0300 (Tue, 26 Dec 2006)
New Revision: 844

Modified:
   trunk/tkabber/plugins/chat/logger.tcl
Log:
	* plugins/chat/logger.tcl: Bugfix.


Modified: trunk/tkabber/plugins/chat/logger.tcl
===================================================================
--- trunk/tkabber/plugins/chat/logger.tcl	2006-12-26 12:51:20 UTC (rev 843)
+++ trunk/tkabber/plugins/chat/logger.tcl	2006-12-26 13:08:08 UTC (rev 844)
@@ -196,6 +196,7 @@
     set year [clock format $seconds -format %Y]
     set month [clock format $seconds -format %m]
 
+    file mkdir [file join $options(logdir) $year $month]
     set fd [open [file join $options(logdir) $year $month [jid_to_filename $jid]] a]
     fconfigure $fd -encoding utf-8
     puts $fd [str_to_log [list timestamp $ts jid $from nick $nick body $body]]



More information about the Tkabber-dev mailing list