diff options
| author | 2008-08-31 01:05:00 +0000 | |
|---|---|---|
| committer | 2008-08-31 01:05:00 +0000 | |
| commit | 29237b699f47488962133b54b0b3d1085f3c068d (patch) | |
| tree | 40930c0f2750344f67fecd2238fd203a8cf4be6b /src/users.cpp | |
| parent | Remove a redundant check, and fix user-mode change propegation. (closes bug #... (diff) | |
Save 4 bytes (assuming sizeof(ptr) == 2) per user record, storing unneeded pointers (self managed class) that nothing was ever done with.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10359 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -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 affd89815..b749b4788 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -99,6 +99,7 @@ void User::StartDNSLookup() { bool cached = false; const char* sip = this->GetIPString(false); + UserResolver *res_reverse; /* Special case for 4in6 (Have i mentioned i HATE 4in6?) */ if (!strncmp(sip, "0::ffff:", 8)) @@ -200,7 +201,6 @@ User::User(InspIRCd* Instance, const std::string &uid) : ServerInstance(Instance fd = -1; recvq.clear(); sendq.clear(); - res_forward = res_reverse = NULL; Visibility = NULL; ip = NULL; MyClass = NULL; |
