diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-28 12:08:11 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-28 12:08:11 +0000 |
commit | 7cecc449356ec6fc83568488f0968e354b4676b2 (patch) | |
tree | 037f46d503888ff74ce9ea7cd53070586b3ec497 /src | |
parent | ea0332da6db199bb88dd7173d76644de444a8fcd (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename T> 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; |