From ffbde51a55371d01a19f783133e5c3ade1fefe28 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 9 Feb 2000 20:11:16 +0000 Subject: [PATCH] added code to new() to handle 'event' entries --- src/lib/Spong/HistoryList.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ); } -- 2.30.2