summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 3b9f5a16a..78af0ba8d 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -515,7 +515,7 @@ std::string User::GetBuffer()
{
try
{
- if (!recvq.length())
+ if (recvq.empty())
return "";
/* Strip any leading \r or \n off the string.