Branch: Tag:

1998-11-04

1998-11-04 05:08:39 by Martin Stjernholm <mast@lysator.liu.se>

Always send the config object to roxen module create().

Rev: server/base_server/configuration.pike:1.164

1: - string cvs_version = "$Id: configuration.pike,v 1.163 1998/10/15 21:27:08 grubba Exp $"; + string cvs_version = "$Id: configuration.pike,v 1.164 1998/11/04 05:08:39 mast Exp $";   #include <module.h>   #include <roxen.h>   
301:   private array (object) pri = allocate_pris();      // All enabled modules in this virtual server. - // The format is "module#copy":([ module_info ]) + // The format is "module":([ module_info ])   public mapping (string:mapping(string:mixed)) modules = ([]);      // A mapping from objects to module names
2337:       if(module->copies)    { -  if (err = catch(me = module["program"]())) { +  if (err = catch(me = module["program"](this_object()))) {    report_error(LOCALE->could_not_clone_module(module->name,    describe_backtrace(err)));    if (module->copies[id]) {
2363:    if(objectp(module->master)) {    me = module->master;    } else { -  if (err = catch(me = module["program"]())) { +  if (err = catch(me = module["program"](this_object()))) {    report_error(LOCALE->could_not_clone_module(module->name,    describe_backtrace(err)));    return(0);