summaryrefslogtreecommitdiff
path: root/Echolot/Commands.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-03 00:54:40 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-03 00:54:40 +0000
commit8e615cad321491bade30622b120a4a6fbeff02b3 (patch)
tree2c73db6f31587b76c33e385a6e4a177f60420851 /Echolot/Commands.pm
parentbd239ed35a3f31a75689a204ba92043c86bc29db (diff)
Implemented command delete
Implemented command getkeyconfs
Diffstat (limited to 'Echolot/Commands.pm')
-rw-r--r--Echolot/Commands.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm
index 86ea89c..d00f2c0 100644
--- a/Echolot/Commands.pm
+++ b/Echolot/Commands.pm
@@ -1,7 +1,7 @@
package Echolot::Commands;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Commands.pm,v 1.3 2002/07/02 17:03:13 weasel Exp $
+# $Id: Commands.pm,v 1.4 2002/07/03 00:54:40 weasel Exp $
#
=pod
@@ -67,6 +67,10 @@ sub processCommands($) {
Echolot::Globals::get()->{'storage'}->add_address(@args);
} elsif ($command eq 'set') {
Echolot::Globals::get()->{'storage'}->set_stuff(@args);
+ } elsif ($command eq 'getkeyconf') {
+ Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', time() );
+ } elsif ($command eq 'delete') {
+ Echolot::Globals::get()->{'storage'}->delete_remailer(@args);
} else {
warn("Unkown command: $_\n");
};