summaryrefslogtreecommitdiff
path: root/src/memoserv.c
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 17:56:39 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-15 17:56:39 +0000
commit8784fa995e7e9aaf2f1ecf9f40daef1172580ccd (patch)
treea0fe795b748b4204c8f3c503810f6ff9428d5604 /src/memoserv.c
parentb2b0e1d235686ff8389d2930a53366abefd1bb9d (diff)
Remove moduleAddData|GetData|DelData and all associated mess. Extensible base replaces all this in a much cleaner and more transparent fashion.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/memoserv.c')
-rw-r--r--src/memoserv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/memoserv.c b/src/memoserv.c
index 0054f3f9c..d9bd61b93 100644
--- a/src/memoserv.c
+++ b/src/memoserv.c
@@ -256,7 +256,6 @@ void memo_send(User * u, char *name, char *text, int z)
mi->memos = (Memo *)srealloc(mi->memos, sizeof(Memo) * mi->memocount);
m = &mi->memos[mi->memocount - 1];
strscpy(m->sender, source, NICKMAX);
- m->moduleData = NULL;
if (mi->memocount > 1) {
m->number = m[-1].number + 1;
if (m->number < 1) {
@@ -346,7 +345,6 @@ int delmemo(MemoInfo * mi, int num)
break;
}
if (i < mi->memocount) {
- moduleCleanStruct(&mi->memos[i].moduleData);
free(mi->memos[i].text); /* Deallocate memo text memory */
mi->memocount--; /* One less memo now */
if (i < mi->memocount) /* Move remaining memos down a slot */