From: w00t Date: Sun, 10 Aug 2008 18:15:33 +0000 (+0000) Subject: Fix RPL_NAMREPLY sometimes fucking up X-Git-Tag: v2.0.23~2821 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=78712e9668925cdfabd3199566e7bfc79a14b104;p=user%2Fhenk%2Fcode%2Finspircd.git Fix RPL_NAMREPLY sometimes fucking up git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10137 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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());