summaryrefslogtreecommitdiff
path: root/nickserv.c
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-02 09:11:57 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-02 09:11:57 +0000
commitee1ca39543172236e40ea98e88e9be6bd1fd0d24 (patch)
tree11845ea1fc005f0a7fe6ab84e929d3e14915b378 /nickserv.c
parentf2ed3ecc8b66de929e0beeecfb2fc81f81201509 (diff)
BUILD : 1.7.2 (78) BUGS : N/A NOTES : Added the ability to add module data to the NickCore and the NickAlias structs
git-svn-id: svn://svn.anope.org/anope/trunk@78 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@54 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'nickserv.c')
-rw-r--r--nickserv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nickserv.c b/nickserv.c
index e0a10b692..451f961e5 100644
--- a/nickserv.c
+++ b/nickserv.c
@@ -1519,6 +1519,9 @@ static int delcore(NickCore * nc)
free(nc->memos.memos);
}
+ moduleCleanStruct(nc->moduleData);
+
+
free(nc);
return 1;
@@ -1620,6 +1623,8 @@ int delnick(NickAlias * na)
if (na->last_quit)
free(na->last_quit);
+ moduleCleanStruct(na->moduleData);
+
free(na);