Roxen.git / server / base_server / mainconfig.pike

version» Context lines:

Roxen.git/server/base_server/mainconfig.pike:475:    case NODE_MODULE:    node=node->up;       case NODE_CONFIGURATION:    }       if(module) if(module->copies) while(module->copies[i]) i++;    roxen->enable_module(name+"#"+i);    module = node->config()->modules[name];    +  if(!module) return http_string_answer("This module could not be enabled.\n"); +     node = node->descend(module->name);    // Now it is the (probably unbuilt) module main node...       node->data = module;    node->describer = describe_module;    node->type = NODE_MODULE;    build_module(node);       // We want to see the new module..    node->folded=0;