Branch: Tag:

1999-11-24

1999-11-24 01:58:12 by Per Hedbor <ph@opera.com>

Another _sprintf

Rev: server/base_server/configuration.pike:1.231

3:    * (C) 1996, 1999 Idonex AB.    */    - constant cvs_version = "$Id: configuration.pike,v 1.230 1999/11/23 15:13:31 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.231 1999/11/24 01:58:12 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
2192:    enable_module( modname, old_module );   }    + class ModuleCopies + { +  mapping copies = ([]); +  string _sprintf( ) { return "ModuleCopies()"; } + } +    object enable_module( string modname, object|void me )   {    int id;
2227:    module = modules[ module ];       if(!module) -  modules[ modname ] = module = class{ mapping copies = ([]); }(); +  modules[ modname ] = module = ModuleCopies();       if( !me )    {