diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-10 14:42:11 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-10 14:45:18 +0200 |
commit | 9fcb32ca8058384a4bb91d748fcbd1f81378734d (patch) | |
tree | 4eb3b1a25a0c3e2e7d96a863e44649bb55cc5922 /lib/rbot/timer.rb | |
parent | e4f33c1ea92b56b09c6e58514c73b9a65bf09922 (diff) |
irclog core module: rename old logs when switching from dir to file
It may happen that a user changes from an irclog.filename_format where
some components are files to a format where they are directories (e.g.
from '%%{where}' to '%%{where}/%Y') or conversely. In this case, we
rename the existing file/dir by appending '.old.atime' to it (atime is
the actual file/dir access time).
Diffstat (limited to 'lib/rbot/timer.rb')
0 files changed, 0 insertions, 0 deletions