summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 23:50:10 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 23:50:10 +0000
commitffd4e65d7892706d70d84dafb4bc9c3842caa2dc (patch)
treec0851d2fb92be96cb3977700d7c5e6ccd50148a4 /src
parenta997f6184178ab6ca94b26f81d14a11902fa0eef (diff)
And zero UUID in constructor.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7847 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index ccf506697..1dbdb5b40 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -325,8 +325,7 @@ void userrec::DecrementModes()
userrec::userrec(InspIRCd* Instance) : ServerInstance(Instance)
{
- // the PROPER way to do it, AVOID bzero at *ALL* costs
- *password = *nick = *ident = *host = *dhost = *fullname = *awaymsg = *oper = 0;
+ *password = *nick = *ident = *host = *dhost = *fullname = *awaymsg = *oper = *uuid = 0;
server = (char*)Instance->FindServerNamePtr(Instance->Config->ServerName);
reset_due = ServerInstance->Time();
age = ServerInstance->Time(true);