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:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>
abf4a384f4c08249a9d4a5798120e9f0c0615de3 (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
4.5
Bugfix for Variable.ProviderChoice.
Rev: server/etc/modules/Variable.pmod/module.pmod:1.95
1:
-
// $Id: module.pmod,v 1.
94
2006
/
12
/
14
16
:
50
:
56
grubba Exp $
+
// $Id: module.pmod,v 1.
95
2007
/
01
/
10
12
:
30
:
08
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();