git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'devel'
[videosite.git]
/
videosite
/
GrabberBase.pm
diff --git
a/videosite/GrabberBase.pm
b/videosite/GrabberBase.pm
index
44bde35
..
576d7e4
100644
(file)
--- a/
videosite/GrabberBase.pm
+++ b/
videosite/GrabberBase.pm
@@
-11,13
+11,12
@@
use strict;
sub new {
my $class = shift;
sub new {
my $class = shift;
- my $self = $class->SUPER::new();
-
- $self = {%{$self},
+ my $self = $class->SUPER::new(
NAME => 'FlashGrab',
TYPE => 'grabber',
PATTERNS => [],
NAME => 'FlashGrab',
TYPE => 'grabber',
PATTERNS => [],
- };
+ @_,
+ );
return bless($self, $class);
}
return bless($self, $class);
}