Roxen.git/
server/
config_interface/
sites/
add_module.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2008-04-08
2008-04-08 15:32:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>
9af9a5c7612eb59de5672da6a257fbe6cce62e19 (
9
lines) (+
6
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Now sends conf along to unlocked().
Rev: server/config_interface/sites/add_module.pike:1.87
1:
-
// $Id: add_module.pike,v 1.
86
2006
/
07
/
25
11:
15:
27
anders
Exp $
+
// $Id: add_module.pike,v 1.
87
2008
/
04
/
08
15:
32:19
grubba
Exp $
#include <config_interface.h> #include <module.h>
382:
if (search_modules && !search_modules[q]) continue; object b = module_nomore(q->sname, q, conf);
-
if( !b && q->locked && (!license_key || !q->unlocked(license_key)) )
+
if( !b && q->locked &&
+
(!license_key || !q->unlocked(license_key
, conf
)) )
{ locked_modules += ({ q }); continue;
732:
q->type == 0 ) continue; object b = module_nomore(q->sname, q, conf);
-
if( !b && q->locked && (!license_key || !q->unlocked(license_key)) )
+
if( !b && q->locked &&
+
(!license_key || !q->unlocked(license_key
, conf
)) )
{ locked_modules += ({ q }); continue;