summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 01:01:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-10 01:01:42 +0000
commit959c67db271b593d32db022841d0723654a8dd67 (patch)
tree7e79c85fa89831857ee1c768b18c853672d4c6ff /src/modules
parent395511bd073e8751fb5c0d2e9c8426de055a014f (diff)
Comment what ive done, so that someone doesnt go 'oh thats a redundant data copy, what muppet put that there' and take it out, giving everyone uhnames output that doesnt support it :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6941 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_namesx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp
index a96ff1991..dd2b32e7b 100644
--- a/src/modules/m_namesx.cpp
+++ b/src/modules/m_namesx.cpp
@@ -90,6 +90,7 @@ class ModuleNamesX : public Module
continue;
size_t ptrlen = snprintf(ptr, MAXBUF, "%s%s ", Ptr->GetAllPrefixChars(i->first), i->second.c_str());
+ /* OnUserList can change this - reset it back to normal */
i->second = i->first->nick;
curlen += ptrlen;
ptr += ptrlen;