From d1b1f4190ac0f55eeb08e0f676acb4d717996a06 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 11 Sep 2002 03:10:27 +0000 Subject: Add sendpings command --- Echolot/Commands.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Echolot/Commands.pm') diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm index 6c6901c..5efdf2d 100644 --- a/Echolot/Commands.pm +++ b/Echolot/Commands.pm @@ -1,7 +1,7 @@ package Echolot::Commands; # (c) 2002 Peter Palfrader -# $Id: Commands.pm,v 1.10 2002/08/23 07:54:53 weasel Exp $ +# $Id: Commands.pm,v 1.11 2002/09/11 03:10:27 weasel Exp $ # =pod @@ -69,6 +69,8 @@ sub processCommands($) { Echolot::Globals::get()->{'storage'}->set_stuff(@args); } elsif ($command eq 'getkeyconf') { Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', 0, time(), \@args ); + } elsif ($command eq 'sendpings') { + Echolot::Globals::get()->{'scheduler'}->schedule('ping', 0, time(), \@args ); } elsif ($command eq 'buildstats') { Echolot::Globals::get()->{'scheduler'}->schedule('buildstats', 0, time() ); } elsif ($command eq 'buildkeys') { -- cgit v1.2.3