- if (list.size() + prefixlist.length() + nick.length() + 1 > maxlen)
- {
- // List overflowed into multiple numerics
- user->WriteNumeric(RPL_NAMREPLY, list);
-
- // Erase all nicks, keep the constant part
- list.erase(pos);
- }
-
- list.append(prefixlist).append(nick).push_back(' ');