set the ann_to_talk flag to 1 as default
[spider.git] / perl / DXProt.pm
index c1583c21377d1e19715311d335cacccc76bb59b4..30fd979073680473a33fa010e893ba7dee337a60 100644 (file)
@@ -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);
+       $script->run($self) if $script;
 }
 
 #