mirror of
https://github.com/anope/anope.git
synced 2026-07-02 16:53:13 +02:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user