Show
Ignore:
Timestamp:
12/07/06 06:48:16 (14 years ago)
Author:
exi
Message:

Added parser error in case there are no newlines.
Added Kali items from ccp data dump.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.parser.php

    r133 r138  
    3838        $header = substr($this->killmail_, 0, $involvedpos); 
    3939        $timestamp = substr($header, 0, 16); 
     40 
     41        if (preg_match("/Victim: (.*?)Alliance: (.*)/", $header)) 
     42        { 
     43            $this->error('Found no linefeeds.'); 
     44            return 0; 
     45        } 
    4046 
    4147        if (preg_match("/Victim: (.*)/", $header, $matches))