diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 4 |
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)); } } |