summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-10 18:15:33 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-10 18:15:33 +0000
commit78712e9668925cdfabd3199566e7bfc79a14b104 (patch)
treefa1eb0be9121646d1c49312c90556997c735ddba
parent823f0ab7aabad8e378a59998ca9f42956db44b78 (diff)
Fix RPL_NAMREPLY sometimes fucking up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7
-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());