/[svn]/ircd-hybrid/trunk/src/modules.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/modules.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8587 by michael, Mon Apr 30 19:49:16 2018 UTC revision 8588 by michael, Sun Oct 21 10:51:52 2018 UTC
# Line 97  unload_one_module(const char *name, int Line 97  unload_one_module(const char *name, int
97    if (modp->modexit)    if (modp->modexit)
98     modp->modexit();     modp->modexit();
99    
   assert(dlink_list_length(&modules_list) > 0);  
100    dlinkDelete(&modp->node, &modules_list);    dlinkDelete(&modp->node, &modules_list);
101    xfree(modp->name);    xfree(modp->name);
102    

Legend:
Removed from v.8587  
changed lines
  Added in v.8588

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28