summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 9d7e8dc28..f833efb99 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -484,7 +484,7 @@ bool userrec::AddBuffer(std::string a)
while (i != std::string::npos)
{
- b.erase(i, 1);
+ a.erase(i, 1);
i = a.rfind('\r');
}