diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-30 05:25:48 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-30 05:25:48 +0000 |
commit | 67aed6fdc229481d4923240293753fe84b302026 (patch) | |
tree | 5ba7b4b601aa5f7b61b8f177e2ca59c2bc9a8d62 | |
parent | ad8db21c153ebb799a0c40725a1b2c7754b338f0 (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/modules.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -70,6 +70,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 Provided by DrStein <gacevedo@anope.org> - 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. |