From: Nigel McNie Date: Tue, 3 Jun 2008 22:26:02 +0000 (+1200) Subject: Only log into WRMS when we actually need to. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3424cc287a79209496df990af1bb84fe93f56b9e;p=tks.git Only log into WRMS when we actually need to. --- diff --git a/tks.pl b/tks.pl index 52c4392..1979166 100755 --- a/tks.pl +++ b/tks.pl @@ -49,7 +49,7 @@ my $wrms = WRMS->new({ password => $config{default}{password}, site => $config{default}{site}, login => 1, -}); +}) if $args->{'-c'}; # map of textual representations for WRs my $wrmap = $config{'wrmap'};