]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiAuth.pm
lei: _lei_cfg: return empty hashref if unconfigured
[public-inbox.git] / lib / PublicInbox / LeiAuth.pm
index f2cdb0260a766147fd3d08478ad13ad32755f758..5d321be22f337f33282265628a83d890bfed9509 100644 (file)
@@ -42,7 +42,6 @@ sub auth_eof {
 
 sub auth_start {
        my ($self, $lei, $post_auth_cb, @args) = @_;
-       $lei->_lei_cfg(1); # workers may need to read config
        my $op = $lei->workers_start($self, 'auth', 1, {
                'net_merge' => [ \&net_merge, $lei ],
                '' => [ \&auth_eof, $lei, $post_auth_cb, @args ],