X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=b8b17ae612065b2080eb8c44f7c34cc20120c81c;hb=1cc51a6696899a05d1b9ca40dab497cfdc39294b;hp=c1583c21377d1e19715311d335cacccc76bb59b4;hpb=4f77e58b0ab9b268f27d509b2015e3a211a44520;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index c1583c21..b8b17ae6 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -32,6 +32,7 @@ use BadWords; use DXHash; use Route; use Route::Node; +use Script; use strict; @@ -272,6 +273,10 @@ sub start # send info to all logged in thingies $self->tell_login('loginn'); + + # run a script send the output to the debug file + my $script = new Script(lc $call) || new Script('node_default'); + $script->run($self) if $script; } #