added load baddx.pl badmsg.pl
authordjk <djk>
Sun, 31 Jan 1999 13:31:24 +0000 (13:31 +0000)
committerdjk <djk>
Sun, 31 Jan 1999 13:31:24 +0000 (13:31 +0000)
cmd/load/baddx.pl [new file with mode: 0644]
cmd/load/badmsg.pl [new file with mode: 0644]

diff --git a/cmd/load/baddx.pl b/cmd/load/baddx.pl
new file mode 100644 (file)
index 0000000..3a1dbef
--- /dev/null
@@ -0,0 +1,8 @@
+# reload the baddx file
+my $self = shift;
+my @out;
+return (0, $self->msg('e5')) if $self->priv < 9;
+do "$main::data/baddx.pl" if -e "$main::data/baddx.pl";
+push @out, $@ if $@;
+@out = ($self->msg('ok')) unless @out;
+return (1, @out); 
diff --git a/cmd/load/badmsg.pl b/cmd/load/badmsg.pl
new file mode 100644 (file)
index 0000000..44689b5
--- /dev/null
@@ -0,0 +1,8 @@
+# reload the badmsg file
+my $self = shift;
+my @out;
+return (0, $self->msg('e5')) if $self->priv < 9;
+do "$main::data/badmsg.pl" if -e "$main::data/badmsg.pl";
+push @out, $@ if $@;
+@out = ($self->msg('ok')) unless @out;
+return (1, @out);