1. Added a bit more checking to the rcmd thing to make more sure that this
[spider.git] / cmd / pc.pl
index cfb8f9e96484862f55df8c45d1d47207356651aa..8e371ef21355d1b7f9ec3ed790b02f59baa4618f 100644 (file)
--- a/cmd/pc.pl
+++ b/cmd/pc.pl
@@ -9,7 +9,7 @@ my $self = shift;
 my $line = shift;
 my @f = split /\s+/, $line;
 
-return (1, $self->msg('e5')) if $self->priv < 8;
+return (1, $self->msg('e5')) if $self->priv < 8 || $self->remotecmd;
 
 my $call = uc shift @f;
 my $dxchan = DXChannel->get($call);