diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-22 02:31:23 +0000 |
commit | fb5d7d181578bcba25327dfd4c2d5727fa71ce33 (patch) | |
tree | fafebdfc364d887136587397d01d7431afc2a77a /src/core/cs_identify.c | |
parent | 16e667a2cecf9492954333fc7949b6636072f941 (diff) |
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
Diffstat (limited to 'src/core/cs_identify.c')
-rw-r--r-- | src/core/cs_identify.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |