more wip and a nearly working basic thing
[spider.git] / perl / Route / User.pm
index ebccba9b722b2c7ee3a7f2d0e2d2fc6c0ffe92e9..b8d5fb3633ad3155ae0952e7ffc78f720998800b 100644 (file)
@@ -48,7 +48,7 @@ sub new
        my $pkg = shift;
        my $call = uc shift;
        my $ncall = uc shift;
-       my $flags = shift;
+       my $flags = shift || Route::here(1);
        confess "already have $call in $pkg" if $list{$call};
        
        my $self = $pkg->SUPER::new($call);