From b6641a519f2c3664fa44c2fa86fef6426d3324a5 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 17 Aug 2006 14:06:18 +0000 Subject: Change a std::string operator+= to append() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index 84f762640..43d09554d 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1697,12 +1697,12 @@ void userrec::SplitChanList(userrec* dest, const std::string &cl) if(pos == std::string::npos) { - line += cl.substr(start, length - start); + line.append(cl.substr(start, length - start)); break; } else { - line += cl.substr(start, length - start + 1); + line.append(cl.substr(start, length - start + 1)); } } -- cgit v1.2.3