mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 15:57:12 +00:00
5f2487385b
fixed problem with dxcommandmode in perl < 5.8 added spanish translations for script commands
16 lines
298 B
Perl
16 lines
298 B
Perl
#
|
|
# do anything
|
|
#
|
|
# Rape me!
|
|
#
|
|
# Copyright (c) 2000 - Dirk Koopman G1TLH
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
my ($self, $line) = @_;
|
|
return (1, $self->msg('e5')) if $self->priv < 9 || $self->remotecmd || $self->inscript;
|
|
Log('DXCommand', $self->call . " do $line" );
|
|
eval "$line";
|
|
return (1, $@ ? $@ : "Ok, done $line" );
|