summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}