use DXDb;
use DXHash;
use DXDupe;
+use Script;
use Prefix;
use Spot;
use Bands;
use vars qw($VERSION $BRANCH $build $branch);
$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
-$main::build += 15; # add an offset to make it bigger than last system
+$main::build += 14; # add an offset to make it bigger than last system
$main::build += $VERSION;
$main::branch += $BRANCH;
# is he locked out ?
if ($user->lockout) {
- Log('DXCommand', "$call is locked out, disconnected");
+ my $host = $conn->{peerhost} || "unknown";
+ Log('DXCommand', "$call on $host is locked out, disconnected");
$conn->disconnect;
return;
}
# this, such as it is, is the main loop!
dbg("orft we jolly well go ...");
+my $script = new Script "startup";
+$script->run($DXProt::me) if $script;
#open(DB::OUT, "|tee /tmp/aa");