Branch: Tag:

2001-06-28

2001-06-28 19:14:18 by Martin Stjernholm <mast@lysator.liu.se>

module_identifier() now returns an identifier on the same form as
Roxen.get_modname, since the old form was both bulky and not necessarily
unique. This might be a compatibility issue.

Rev: server/base_server/module.pike:1.114
Rev: server/etc/modules/Roxen.pmod:1.98

1:   // This is a roxen pike module. Copyright © 1999 - 2000, Roxen IS.   // - // $Id: Roxen.pmod,v 1.97 2001/06/20 23:29:09 mast Exp $ + // $Id: Roxen.pmod,v 1.98 2001/06/28 19:14:18 mast Exp $      #include <roxen.h>   #include <config.h>
1485:   //! Returns a string uniquely identifying the given module on the form   //! `<config name>/<module short name>#<copy>'.   { -  if (!module) return 0; -  -  if (Configuration conf = module->my_configuration()) -  if (string mname = conf->otomod[module]) -  return conf->name + "/" + mname; -  -  return 0; +  return module && module->module_identifier();   }      string get_modfullname (RoxenModule module)