[vhffs-dev] [848] Oops ;)

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 848
Author:   gradator
Date:     2007-08-31 01:14:52 +0000 (Fri, 31 Aug 2007)

Log Message:
-----------
Oops ;)

Modified Paths:
--------------
    trunk/vhffs-robots/src/listengine_publicarchives.pl


Modified: trunk/vhffs-robots/src/listengine_publicarchives.pl
===================================================================
--- trunk/vhffs-robots/src/listengine_publicarchives.pl	2007-08-31 00:57:34 UTC (rev 847)
+++ trunk/vhffs-robots/src/listengine_publicarchives.pl	2007-08-31 01:14:52 UTC (rev 848)
@@ -27,12 +27,11 @@
 my $cmd;
 
 my $listengineconfig = $vhffs->get_config->get_listengine;
+die "Cannot find listengine configuration" unless $listengineconfig;
+
 my $archivedir = $listengineconfig->{'datadir'}."/archives";
 my $outputdir = $listengineconfig->{'datadir'}."/public";
 
-my $leconfig = $vhffs->get_config->get_service('listengine');
-die "Cannot find listengine configuration" unless( $leconfig );
-
 my $miscdir = "/usr/lib/vhffs/bots/misc/";
 
 my $configmhonarc = $miscdir."/mhonarc.config";


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/