summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 0b24aa4b7..6eda54a9d 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -1002,7 +1002,7 @@ void Channel::UserList(User *user, CUList *ulist)
if (curlen + prefixlist.length() + nick.length() + 1 > 480)
{
/* list overflowed into multiple numerics */
- user->WriteServ(std::string(list));
+ user->WriteNumeric(RPL_NAMREPLY, std::string(list));
/* reset our lengths */
dlen = curlen = snprintf(list,MAXBUF,"%s %c %s :", user->nick.c_str(), this->IsModeSet('s') ? '@' : this->IsModeSet('p') ? '*' : '=', this->name.c_str());