summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index d640af1d8..e4b58a1a4 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -844,6 +844,7 @@ void chanrec::UserList(userrec *user, CUList *ulist)
continue;
size_t ptrlen = snprintf(ptr, MAXBUF, "%s%s ", this->GetPrefixChar(i->first), i->second.c_str());
+ /* OnUserList can change this - reset it back to normal */
i->second = i->first->nick;
curlen += ptrlen;