diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-13 19:45:28 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-13 19:45:28 +0000 |
commit | 2620d1258c6a2c249b9503a7c4a764e26a2da0f3 (patch) | |
tree | 025ba30d0f118649db6b01bace1c122198301c39 /src/users.cpp | |
parent | de6bba7882bc53b5a23e4854069d4846616f2001 (diff) |
Undo my constructor playing, I'm pretty sure it will break stuff. This will require thinkings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8707 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/users.cpp b/src/users.cpp index 2f1c86a33..d7671de3c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -210,20 +210,6 @@ User::User(InspIRCd* Instance, const std::string &uid) : ServerInstance(Instance (*Instance->uuidlist)[uuid] = this; else throw CoreException("Duplicate UUID "+std::string(uuid)+" in User constructor"); - - (*(Instance->clientlist))[this->uuid] = this; - - /* The users default nick is their UUID */ - strlcpy(this->nick, this->uuid, NICKMAX - 1); - - this->server = Instance->FindServerNamePtr(Instance->Config->ServerName); - /* We don't need range checking here, we KNOW 'unknown\0' will fit into the ident field. */ - strcpy(this->ident, "unknown"); - - this->registered = REG_NONE; - this->signon = Instance->Time() + Instance->Config->dns_timeout; - this->lastping = 1; - } User::~User() |