diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 17:55:55 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-15 17:55:55 +0000 |
commit | b2b0e1d235686ff8389d2930a53366abefd1bb9d (patch) | |
tree | 262a47642e64f91d8a240dad7d281cd205e13b50 /src/modules.c | |
parent | 5384c97c141c9b3acfecb154b8bd41e57f706e00 (diff) |
Create and use constructors for NickInfo, NickAlias, ChannelInfo. Inherit all three from Extensible. Convert to use that instead of moduleData stuff.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1705 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules.c b/src/modules.c index ceebe1660..3d9355944 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1312,22 +1312,16 @@ void moduleDelAllDataMod(Module * m) } /* Remove the nick Cores */ for (nc = nclists[i]; nc; nc = nc->next) { - moduleDelAllData(&nc->moduleData); /* Remove any memo data for this nick core */ for (j = 0; j < nc->memos.memocount; j++) { moduleCleanStruct(&nc->memos.memos[j].moduleData); } } - /* Remove the nick Aliases */ - for (na = nalists[i]; na; na = na->next) { - moduleDelAllData(&na->moduleData); - } } for (i = 0; i < 256; i++) { /* Remove any chan info data */ for (ci = chanlists[i]; ci; ci = ci->next) { - moduleDelAllData(&ci->moduleData); /* Remove any memo data for this nick core */ for (j = 0; j < ci->memos.memocount; j++) { moduleCleanStruct(&ci->memos.memos[j].moduleData); |