Branch: Tag:

1998-07-25

1998-07-25 04:20:47 by Martin Stjernholm <mast@lysator.liu.se>

Allow modules to use 0 for a nonexistant alternative in a TYPE_*_LIST
array.

Rev: server/base_server/module.pike:1.34

1: - /* $Id: module.pike,v 1.33 1998/07/07 17:05:15 grubba Exp $ */ + /* $Id: module.pike,v 1.34 1998/07/24 05:44:43 mast Exp $ */      #include <module.h>   
218:    "to multiple choice variable.\n",    roxen->filename(this), misc, misc));    } -  if(misc && search(misc, value)==-1) { +  if(misc && value && search(misc, value)==-1) {    roxen_perror(sprintf("%s:\nPassing value (%t:%O) not present "    "in the misc array.\n",    roxen->filename(this), value, value));