diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-10 00:36:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-10 00:36:16 +0000 |
commit | 7cbc335e893c8b77d04dafa9b879cab8f42a1dd4 (patch) | |
tree | 6907689337b8ea3b93c89d3532403a913cf96162 /src/modules | |
parent | f7dd3ab4c02f704226ee77d1a12d74104e0e36d1 (diff) |
Make it not suck^H^H^H^Hsegfault... and its all fixed and *working* :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6937 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_uhnames.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index e29e0c662..ccd6b85b0 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -78,6 +78,9 @@ class ModuleUHNames : public Module { if (user->GetExt("UHNAMES")) { + if (!ulist) + ulist = Ptr->GetUsers(); + nl.clear(); for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) nl[i->first] = i->first->GetFullHost(); |