]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change a std::string operator+= to append()
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 17 Aug 2006 14:06:18 +0000 (14:06 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Thu, 17 Aug 2006 14:06:18 +0000 (14:06 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7

src/users.cpp

index 84f762640d0bee014725444234267c03cdc0cbaf..43d09554d561b82cd421013343a8630955d46b72 100644 (file)
@@ -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));
                }
        }