summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-17 14:06:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-17 14:06:18 +0000
commitb6641a519f2c3664fa44c2fa86fef6426d3324a5 (patch)
tree94e0115aebeb5b14cad206e47e2e762403fdcfdf
parent9037003b8895bfbda403e22c8303e080f28652da (diff)
Change a std::string operator+= to append()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4931 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp4
1 files 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));
}
}