[prev] [thread] [next] [lurker] [Date index for 2003/08/01]
Author: richardc Date: 2003-08-01 17:07:44 +0100 (Fri, 01 Aug 2003) New Revision: 1289 Modified: trunk/siesta/lib/Siesta/List.pm Log: motherfuckingtabs Modified: trunk/siesta/lib/Siesta/List.pm =================================================================== --- trunk/siesta/lib/Siesta/List.pm 2003-08-01 16:00:35 UTC (rev 1288) +++ trunk/siesta/lib/Siesta/List.pm 2003-08-01 16:07:44 UTC (rev 1289) @@ -167,9 +167,7 @@ my $plugin = shift; my $pos = shift; - - my $personal = ($plugin =~ s/^\+//); - + my $personal = ($plugin =~ s/^\+//); my @existing = $self->plugins( $queue ); croak "can only add 1 instance of a plugin to a queue" if grep { $_->name eq $plugin } @existing; @@ -217,7 +215,7 @@ # then just add new ones my %old = map { $_->name => 1 } $self->plugins($queue); for my $plugin (keys %new_rank) { - my $personal = ($plugin =~ s/^\+//); + my $personal = ($plugin =~ s/^\+//); next if $old{ $plugin }; Siesta::Plugin->create({ name => $plugin, list => $self,
Generated at 13:57 on 01 Jul 2004 by mariachi 0.52