X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=990aa45d57d21f2035913aaad4d08f854fb0b30d;hb=8f58735f5c9c090f2e5e00e05c7ad0834eccb741;hp=c1583c21377d1e19715311d335cacccc76bb59b4;hpb=e0e6a2d303693eb681a6eefa90a2821ddfdeb5fd;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index c1583c21..990aa45d 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; @@ -60,7 +61,7 @@ $baddx = new DXHash "baddx"; $badspotter = new DXHash "badspotter"; $badnode = new DXHash "badnode"; $last10 = $last_pc50 = time; -$ann_to_talk = 1; +$ann_to_talk = 0; @checklist = ( @@ -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); + $script->run($self) if $script; } #