summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-06 21:11:44 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-12-06 21:11:44 +0000
commitf39ad6ac1c365a895733db3d658ed7573675c026 (patch)
treee74723c86981d6ab9cb8ba4e8dd3e77db22b1630
parent15000f62841e85b8ecbc8d67b7a2bb867ae66a6b (diff)
BUILD : 1.7.6 (481) BUGS : NOTES : Fixed misplaced pointer in moduleaddData().
git-svn-id: svn://svn.anope.org/anope/trunk@481 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@335 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/modules.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index cc2c53e0a..b930d6d80 100644
--- a/Changes
+++ b/Changes
@@ -13,6 +13,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004
11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00]
11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00]
11/18 A NSAddAccessOnReg to control access list on registration. [ #00]
+12/06 F Fixed misplaced pointer in moduleAddData(). [ #00]
12/06 F Fixed infinite loop with moduleGetData(). [#239]
12/05 F CS CLEAR OPS strips +a/+q modes, and uses SVSMODE where possible. [ #00]
12/05 F Ultimate3 not setting +a on channel admins. [ #00]
diff --git a/src/modules.c b/src/modules.c
index 072d0f915..ff34ed361 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -1829,7 +1829,7 @@ int moduleAddData(ModuleData **md, char *key, char *value)
newData->key = sstrdup(key);
newData->value = sstrdup(value);
if(tmp) {
- newData->next = tmp->next;
+ newData->next = tmp;
} else {
newData->next = NULL;
}
diff --git a/version.log b/version.log
index 029d1135f..bb093efde 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="480"
+VERSION_BUILD="481"
# $Log$
#
+# BUILD : 1.7.6 (481)
+# BUGS :
+# NOTES : Fixed misplaced pointer in moduleaddData().
+#
# BUILD : 1.7.6 (480)
# BUGS :
# NOTES : Updated some formatting in the Changes file