From f7dd3ab4c02f704226ee77d1a12d74104e0e36d1 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 May 2007 00:28:15 +0000 Subject: It would be good if this actually compiled too... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6936 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_uhnames.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3