mirror of
https://github.com/ailin-nemui/irssi-revolving-door.git
synced 2025-04-25 12:31:02 -05:00
commit
1096bfec20
@ -3,7 +3,7 @@ use strict;
|
||||
use Irssi::TextUI;
|
||||
use vars qw($VERSION %IRSSI);
|
||||
|
||||
$VERSION = "0.0.1";
|
||||
$VERSION = "0.0.2";
|
||||
%IRSSI = (
|
||||
authors => 'Ryan Freebern',
|
||||
contact => 'ryan@freebern.org',
|
||||
@ -36,7 +36,7 @@ sub summarize {
|
||||
# If the second-to-last line is a summary line, parse it.
|
||||
my %door = ('Joins' => [], 'Parts' => [], 'Quits' => [], 'Nicks' => []);
|
||||
my @summarized = ();
|
||||
if ($secondlast->{'_irssi'} == $summary_lines{$check}) {
|
||||
if ($secondlast and %summary_lines and $secondlast->{'_irssi'} == $summary_lines{$check}) {
|
||||
my $summary = Irssi::strip_codes($secondlast->get_text(1));
|
||||
@summarized = split(/ -- /, $summary);
|
||||
foreach my $part (@summarized) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user