From 541f11e4b80cbb2cc76da34fb2e1659b5e8b0090 Mon Sep 17 00:00:00 2001 From: "certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 30 Nov 2004 15:11:38 +0000 Subject: [PATCH] BUILD : 1.7.6 (467) BUGS : NOTES : Fixed bug with ircd->chanmodes. Thanks to Syzop. git-svn-id: svn://svn.anope.org/anope/trunk@467 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@321 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/servers.c | 2 +- version.log | 6 +++++- 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. - 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