From 7cecc449356ec6fc83568488f0968e354b4676b2 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Jan 2006 12:08:11 +0000 Subject: Correctly initialize userrec::password (should fix a few m_sql issues) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2946 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index 072437210..7513fa273 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -64,7 +64,7 @@ template inline string ConvToStr(const T &in) userrec::userrec() { // the PROPER way to do it, AVOID bzero at *ALL* costs - *nick = *ident = *host = *dhost = *fullname = *modes = *awaymsg = *oper = 0; + *password = *nick = *ident = *host = *dhost = *fullname = *modes = *awaymsg = *oper = 0; server = (char*)FindServerNamePtr(Config->ServerName); reset_due = TIME; lines_in = fd = lastping = signon = idle_lastmsg = nping = registered = 0; -- cgit v1.2.3