summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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;