don't expose channel data on talks in gtk mode
[spider.git] / cmd / save.pl
index 1689d38751313aeb76c58699f58a0df4c55d0580..0c4c8b225288be4c6580a4372fb79e43d9f3723b 100644 (file)
@@ -1,13 +1,15 @@
 # 
 # save the output of ANY command to a file
 #
+# From an idea by Rene OZ1LQH
+#
 # Copyright (c) 2002 Dirk Koopman G1TLH
 #
 # $Id$
 #
 
 my ($self, $line) = @_;
-return (1, $self->msg('e5')) if $self->priv < 9 || $self->remotecmd;
+return (1, $self->msg('e5')) if $self->priv < 9 || $self->remotecmd || $self->inscript;
 
 my ($date_req, $time_req);
 my $app_req = '>';