summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}