summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/servers.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index ba82fe8e3..8dd4563a7 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ Anope Version S V N
Provided by Anope Dev. <dev@anope.org> - 2004
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]
+11/30 F Fixed ircd->chanmodes (pointed to freed memory). [ #00]
11/21 F Fixed session decrease on /NS GHOST. [#229]
11/19 F Wrong string and missing registered nick check in bot change. [#221]
diff --git a/src/servers.c b/src/servers.c
index d77dc4713..303f25d87 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -380,7 +380,7 @@ void capab_parse(int ac, char **av)
if (!stricmp(s, "CHANMODES")) {
uplink_capab |= CAPAB_CHANMODE;
if (tmp) {
- ircd->chanmodes = tmp;
+ ircd->chanmodes = sstrdup(tmp);
}
}
if (s) {
diff --git a/version.log b/version.log
index 63bc24a77..41fb55c7f 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="6"
-VERSION_BUILD="466"
+VERSION_BUILD="467"
# $Log$
#
+# BUILD : 1.7.6 (467)
+# BUGS :
+# NOTES : Fixed bug with ircd->chanmodes. Thanks to Syzop.
+#
# BUILD : 1.7.6 (466)
# BUGS : 237
# NOTES : docs patch to bug 237