Branch: Tag:

2007-01-10

2007-01-10 12:30:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

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();