summaryrefslogtreecommitdiffstats
path: root/lastseen.pl
diff options
context:
space:
mode:
authorlookshe <mail@lookshe.org>2011-09-27 10:35:30 +0200
committerlookshe <mail@lookshe.org>2011-09-27 10:35:30 +0200
commit37641bf56c350393ed49010b5ec4a35e791f51ff (patch)
treea5d628e17bdfde2c84402521248f5e756564e4a0 /lastseen.pl
parent54ff27a51600bdbf850fd8c3093b4f117fffc678 (diff)
blank position was wrong
Diffstat (limited to 'lastseen.pl')
-rw-r--r--lastseen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lastseen.pl b/lastseen.pl
index cf23ebe..1c3c6cc 100644
--- a/lastseen.pl
+++ b/lastseen.pl
@@ -30,7 +30,7 @@ my $log = File::ReadBackwards->new($file) || die $!;
while ($line=$log->readline()){
# $line=$log->readline();
if ($date eq 0){
- if ($line =~ m/^\[[0-9]{2}:[0-9]{2}(:[0-9]{2})?\] (Nick change:)? $nick /i && $line !~ m/joined #/ ) {
+ if ($line =~ m/^\[[0-9]{2}:[0-9]{2}(:[0-9]{2})?\]( Nick change:)? $nick /i && $line !~ m/joined #/ ) {
$date=1;
$lastaction=$line;
}