summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 19:45:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 19:45:24 +0000
commit1e232ef237619261dd5f4345e727c50b6cdccfaf (patch)
tree9de07ee23109108cc626643b8b3e0271d231ee70 /src
parentdcad2fe327598a92e2ca51feeb462bda7a5fa7c9 (diff)
i'm doing this in increments, because if i try and change too much at once, it breaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4425 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index ef2a58fd5..eff8d9efc 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -400,8 +400,8 @@ bool userrec::AddBuffer(const std::string &a)
for (std::string::const_iterator i = a.begin(); i != a.end(); i++)
{
- if ((*i != '\r') && (*i != '\0') && (*i != 7))
- b = b + *i;
+ if (*i != '\r')
+ b += *i;
}
recvq.append(b);