summaryrefslogtreecommitdiff
path: root/src/core/cs_identify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_identify.c')
-rw-r--r--src/core/cs_identify.c1
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;