summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/modules.c4
-rw-r--r--version.log6
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. <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.