summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 00:28:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 00:28:15 +0000
commitf7dd3ab4c02f704226ee77d1a12d74104e0e36d1 (patch)
tree6b521fee565f1e1aac01195ca8141a774e6f0b78 /src
parentfb6ae5de3a9b3dab30c87df69141448f69ab3ee0 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_uhnames.cpp4
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;
}