1. fix set/lockout so that it is possible to lock out all SSIDs except those
[spider.git] / perl / DXCron.pm
index 785a1ad93774260a048098ce002d8c687c77219d..74b65996a3e54eb4d0b2cc01ab8488a9504a7ba2 100644 (file)
@@ -286,13 +286,13 @@ sub rcmd
        return  unless $noderef && $noderef->version;
 
        # send it 
-       DXProt::addrcmd($DXProt::me, $call, $line);
+       DXProt::addrcmd($main::me, $call, $line);
 }
 
 sub run_cmd
 {
        my $line = shift;
-       my @in = DXCommandmode::run_cmd($DXProt::me, $line);
+       my @in = DXCommandmode::run_cmd($main::me, $line);
        dbg("cmd run: $line") if isdbg('cron');
        for (@in) {
                s/\s*$//og;