From ec3fbdecd212c432a946cd445a267aa101819b2b Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 15 Apr 2007 09:49:56 -0700 Subject: [PATCH] [svn] Only free PreClient struct when the rest of the Client is freed, not immediately upon exit_client(). Doing this would cause problems with sasl's new_local_user hook vs hooks that exit the client there. --- ChangeLog | 9 +++++++++ include/serno.h | 2 +- src/client.c | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c4b6e853f..5c869f6a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +jilles 2007/04/14 21:53:28 UTC (20070414-3410) + Log: + Use TS6 prefix for server-server JOIN 0. + + + Changes: Modified: + +2 -1 trunk/modules/core/m_join.c (File Modified) + + jilles 2007/04/14 20:58:56 UTC (20070414-3408) Log: Use orighost in kill server notices. diff --git a/include/serno.h b/include/serno.h index 6b1db3540..93a3cdb2d 100644 --- a/include/serno.h +++ b/include/serno.h @@ -1 +1 @@ -#define SERNO "20070414-3408" +#define SERNO "20070414-3410" diff --git a/src/client.c b/src/client.c index 29e2fedcb..2d6494780 100644 --- a/src/client.c +++ b/src/client.c @@ -21,7 +21,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: client.c 3319 2007-03-29 20:03:06Z jilles $ + * $Id: client.c 3412 2007-04-15 16:49:56Z jilles $ */ #include "stdinc.h" #include "config.h" @@ -1434,7 +1434,6 @@ exit_unknown_client(struct Client *client_p, struct Client *source_p, struct Cli del_from_hostname_hash(source_p->host, source_p); del_from_client_hash(source_p->name, source_p); remove_client_from_list(source_p); - free_pre_client(source_p); SetDead(source_p); dlinkAddAlloc(source_p, &dead_list);