diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 229edcfa2..9a7b9a6e7 100644 --- a/include/users.h +++ b/include/users.h @@ -807,7 +807,7 @@ class CoreExport User : public connection * @param a The string to add to the users read buffer * @return True if the string was successfully added to the read buffer */ - bool AddBuffer(std::string a); + bool AddBuffer(const std::string &a); /** This method returns true if the buffer contains at least one carriage return * character (e.g. one complete line may be read) |