diff options
-rw-r--r-- | src/modules/m_uhnames.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index 9f7afbdd7..e29e0c662 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -80,8 +80,8 @@ class ModuleUHNames : public Module { nl.clear(); for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) - nl[i->second->GetFullHost()] = i->second; - nameslist = &nl; + nl[i->first] = i->first->GetFullHost(); + ulist = &nl; } return 0; } |