Branch: Tag:

2007-01-22

2007-01-22 13:16:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixes to verify_set().

Rev: server/etc/modules/Variable.pmod/module.pmod:1.102

1: - // $Id: module.pmod,v 1.101 2007/01/22 13:05:48 grubba Exp $ + // $Id: module.pmod,v 1.102 2007/01/22 13:16:34 grubba Exp $      #include <module.h>   #include <roxen.h>
1479:    array(string|mixed) verify_set( mixed new_value )    {    if (!new_value) { +  new_value = query(); +  } +  if (!new_value) {    return ({ "Not configured", 0 });    }    return ({ 0, new_value });