diff options
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) { |