Roxen.git/
server/
etc/
modules/
Variable.pmod/
module.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2007-01-10
2007-01-10 12:30:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>
151c8497d07f3c4ced1ea9e0b40d556ff19acee7 (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Bugfix for Variable.ProviderChoice.
Rev: server/etc/modules/Variable.pmod/module.pmod:1.99
1:
-
// $Id: module.pmod,v 1.
98
2006
/
12
/
07
12:
12
:
47
grubba Exp $
+
// $Id: module.pmod,v 1.
99
2007
/
01
/
10
12:
30
:
02
grubba Exp $
#include <module.h> #include <roxen.h>
1365:
return ::low_set(to); }
+
// NOTE: Will be called with a string at module init!
+
int set(string|RoxenModule to)
+
{
+
if (stringp(to)) {
+
local_id = to;
+
to = transform_from_form(to);
+
}
+
return ::set(to);
+
}
+
RoxenModule query() { RoxenModule res = ::query();