summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 00:55:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 00:55:07 +0000
commit6e1f6f7a30d4f59e69b4c386e7897c9f9d16f565 (patch)
tree49cc5edf5b117aea2e779da182454164670be836 /src
parenta11d65f691b019d0c07d16cab0c2665a90474c90 (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')
-rw-r--r--src/modules/m_uhnames.cpp4
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;
}