Ignore:
Timestamp:
06/01/07 11:09:07 (5 years ago)
Author:
wd
Message:

Wow, a fully building ircd mode (so far). Some changes:

  • Updated LOTS of copyright notices.
  • Completed the split of channel and user modes
  • That core 'addon' is completely gone
  • Using hard/soft/post dependencies in what seems to me to be a good way.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ithildin/lib/module.c

    r798 r806  
    324324        free(msdp->name); 
    325325        free(msdp); 
     326    } 
     327 
     328    /* load "post" dependencies here. A "post" dependency is a module which 
     329     * we should load after initializing the current module.  These are 
     330     * mostly identicaly to soft dependencies (load failures don't hurt us) 
     331     * and are just done at a different time. */ 
     332    if ((deplist = (char **)dlsym(m->handle, "mpostdepends")) != NULL) { 
     333        if (!load_module_deps(m, deplist, flags, false)) 
     334            log_warn("some soft dependencies for %s failed to load, " 
     335                     "continuing anyway.", m->name); 
    326336    } 
    327337 
Note: See TracChangeset for help on using the changeset viewer.