diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-10 00:55:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-10 00:55:07 +0000 |
commit | 6e1f6f7a30d4f59e69b4c386e7897c9f9d16f565 (patch) | |
tree | 49cc5edf5b117aea2e779da182454164670be836 /src/modules/m_uhnames.cpp | |
parent | a11d65f691b019d0c07d16cab0c2665a90474c90 (diff) |
This doesnt need a data copy any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6939 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_uhnames.cpp')
-rw-r--r-- | src/modules/m_uhnames.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index ccd6b85b0..b0981d58d 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -81,10 +81,8 @@ class ModuleUHNames : public Module if (!ulist) ulist = Ptr->GetUsers(); - nl.clear(); for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) - nl[i->first] = i->first->GetFullHost(); - ulist = &nl; + i->second = i->first->GetFullHost(); } return 0; } |