1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
[spider.git] / cmd / load / prefixes.pl
diff --git a/cmd/load/prefixes.pl b/cmd/load/prefixes.pl
new file mode 100644 (file)
index 0000000..cd211ba
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# load the prefix_data  file after changing it
+#
+my $self = shift;
+return (0, $self->msg('e5')) if $self->priv < 9;
+my $out = Prefix::load();
+return (1, $out ? $out : $self->msg('ok'));
+