Roxen.git/
server/
base_server/
configuration.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2011-03-15
2011-03-15 15:49:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>
550cf8a01436b28bebf6d6d896fd64fb974327d2 (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Don't attempt to start modules that failed to load.
Rev: server/base_server/configuration.pike:1.716
5:
// @appears Configuration //! A site's main configuration
-
constant cvs_version = "$Id: configuration.pike,v 1.
715
2011/
02
/
18
09
:
58
:
19
wellhard
Exp $";
+
constant cvs_version = "$Id: configuration.pike,v 1.
716
2011/
03
/
15
15
:
49
:
48
grubba
Exp $";
#include <module.h> #include <module_constants.h> #include <roxen.h>
3634:
if (mapping(string:array(function(RoxenModule,mixed...:void))) func_cbs = module_post_callbacks[func]) { if (!mod_name)
-
sscanf (mod->module_local_id(), "%[^#]", mod_name);
+
sscanf (
otomod[
mod
] || mod
->module_local_id(), "%[^#]", mod_name);
array(function(RoxenModule,mixed...:void)) cbs; if (array(function(RoxenModule,mixed...:void)) a = func_cbs[mod_name]) { func_cbs[mod_name] = (a -= ({0}));
4050:
int has_stored_vars = sizeof (stored_vars); // A little ugly, but it suffices. me->setvars(stored_vars);
+
if (me->not_a_module) nostart = 1;
+
if(!nostart) call_start_callbacks( me, moduleinfo, module ); #ifdef MODULE_DEBUG