From fb5d7d181578bcba25327dfd4c2d5727fa71ce33 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Sat, 22 Nov 2008 02:31:23 +0000 Subject: Properly initialized new objects when needed so they don't contain garbage data. Also, converted line endings in os_ignore_db from CR+LF to LF. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1784 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_identify.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/cs_identify.c b/src/core/cs_identify.c index 219c23ea4..e67b48c39 100644 --- a/src/core/cs_identify.c +++ b/src/core/cs_identify.c @@ -78,6 +78,7 @@ int do_identify(User * u) if ((res = enc_check_password(pass, ci->founderpass)) == 1) { if (!is_identified(u, ci)) { uc = new u_chaninfolist; + uc->prev = NULL; uc->next = u->founder_chans; if (u->founder_chans) u->founder_chans->prev = uc; -- cgit