From 67aed6fdc229481d4923240293753fe84b302026 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Thu, 30 Dec 2004 05:25:48 +0000 Subject: [PATCH] BUILD : 1.7.6 (508) BUGS : 261 NOTES : docs fix to bug 261, seems to fix it for me, Certus care to test? git-svn-id: svn://svn.anope.org/anope/trunk@508 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@362 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/modules.c | 4 ++-- version.log | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Changes b/Changes index f25b68161..af44b9299 100644 --- a/Changes +++ b/Changes @@ -70,6 +70,7 @@ Provided by Anope Dev. - 2004 Provided by DrStein - 2004 12/23 A NS STATUS will return your status if no nickname is given. [ #00] +12/30 F Loop overpassed in moduleDelData. [#261] 12/26 F Error message during SQL init even if UseRDB was disabled. [ #00] 12/10 F Extra tab in language files, causing bad answer in !seen. [#243] 11/28 F Fixes RSEND oddity. [#237] diff --git a/src/modules.c b/src/modules.c index 107cf0bfa..eace42ae7 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1887,7 +1887,6 @@ void moduleDelData(ModuleData **md, char *key) if(key) { while(current) { - next = current->next; if((stricmp(current->moduleName,mod_name)==0) && (stricmp(current->key,key)==0)) { if(prev) { prev->next = current->next; @@ -1901,6 +1900,7 @@ void moduleDelData(ModuleData **md, char *key) free(current); } prev = current; + next = current->next; current = next; } } @@ -1921,7 +1921,6 @@ void moduleDelAllData(ModuleData **md) ModuleData *next = NULL; while(current) { - next = current->next; if((stricmp(current->moduleName,mod_name)==0)) { if(prev) { prev->next = current->next; @@ -1935,6 +1934,7 @@ void moduleDelAllData(ModuleData **md) free(current); } prev = current; + next = current->next; current = next; } free(mod_name); diff --git a/version.log b/version.log index 6b1568af0..a3c7b966f 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="6" -VERSION_BUILD="507" +VERSION_BUILD="508" # $Log$ # +# BUILD : 1.7.6 (508) +# BUGS : 261 +# NOTES : docs fix to bug 261, seems to fix it for me, Certus care to test? +# # BUILD : 1.7.6 (507) # BUGS : N/A # NOTES : Fixed not freeing memory when a channel got deleted.