diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-16 20:13:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-16 20:13:40 +0000 |
commit | 51fb5084945d9144f2de1f85076d6f5bb419bc23 (patch) | |
tree | c1b547281296930158cbed3f9cf7dfc0f41f148e /src/users.cpp | |
parent | 6e255658272a3c566b2a9d5c9a0f2c2035910c60 (diff) |
Ignore empty lines, don't try and process them as commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4430 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index c3d763855..e3104b0d4 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -407,7 +407,8 @@ bool userrec::AddBuffer(const std::string &a) b += *i; } - recvq.append(b); + if (b.length()) + recvq.append(b); if (recvq.length() > (unsigned)this->recvqmax) { |