Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:4061:    }    if( o->report_error )    o->report_error( "Call to start failed.\n"+describe_backtrace( error ) );    else    report_error( "Call to start failed.\n"+describe_backtrace( error ));    }    invalidate_cache();    return 1;   }    + int save_one_without_cbs(RoxenModule o) + //! Save all variables in a given module but don't call any callbacks. + { +  if (o) { +  string q = otomod[ o ]; +  if (!q) +  error("Invalid module"); +  store(q, o->query(), 0, this_object()); +  invalidate_cache(); +  } +  return 1; + } +    RoxenModule reload_module( string modname )   {    RoxenModule old_module = find_module( modname );    sscanf (modname, "%s#%d", string base_modname, int mod_copy);    ModuleInfo mi = roxen.find_module( base_modname );       if( !old_module ) return 0;       // Temporarily shift out of the rxml parsing context if we're inside    // any (e.g. due to delayed loading from inside the admin
Roxen.git/server/base_server/configuration.pike:4264:    me->defvar("_priority", Variable.    Priority(5, 0, DLOCALE(12, "Priority"),    DLOCALE(13, "<p>The priority of the module.</p>\n"    "<p>Modules with the same priority "    "can be assumed to be "    "called in random order.</p>\n")))->    set_range(0, query("max_priority"));    }) {    throw(err);    } +  +  if (err = catch { +  me->defvar("_notes", Variable.String("", VAR_INVISIBLE, "Notes", "")); +  }) { +  throw(err);    } -  +  }      #ifdef MODULE_LEVEL_SECURITY    if( (module_type & ~(MODULE_LOGGER|MODULE_PROVIDER|MODULE_USERDB)) != 0 )    {   // me->defvar("_sec_group", "user", DLOCALE(14, "Security: Realm"),   // TYPE_STRING,   // DLOCALE(15, "The realm to use when requesting password from the "   // "client. Usually used as an informative message to the "   // "user."));