X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=9a7b9a6e7f842ee1ca41c04b38532b7d97027e12;hb=9f33bf7fc83cffccae96eb622bf39e8f4838b809;hp=229edcfa2564aea295979c9f8c966d3fbbc24bc7;hpb=27e2941ec9a9a7609749b7310a787548ddf716a5;p=user%2Fhenk%2Fcode%2Finspircd.git 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)