From: Stephen L Johnson Date: Wed, 9 Feb 2000 20:11:16 +0000 (+0000) Subject: added code to new() to handle 'event' entries X-Git-Tag: spong-2_7-alpha5~88 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffbde51a55371d01a19f783133e5c3ade1fefe28;p=spong.git added code to new() to handle 'event' entries --- diff --git a/src/lib/Spong/HistoryList.pm b/src/lib/Spong/HistoryList.pm index a48a94c..e2b2f70 100755 --- a/src/lib/Spong/HistoryList.pm +++ b/src/lib/Spong/HistoryList.pm @@ -49,7 +49,10 @@ sub new { } elsif( /^ack (\d+) (\S+) (.*)$/ ) { push( @list, Spong::History->new( $host, "ack", $1, $2, "blue", $3 )); - } + } elsif( /^event (\d+) (\S+) (\S+) (.*)$/ ) { + push( @list, + Spong::History->new( $host, "event", $1, $2, $3, $4 ) ); + } } close( FILE ); }