From 6e85701ecb09604f2c87010683638ec0446cc515 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 2 Sep 2009 00:45:29 +0000 Subject: Remove a few unneeded string copies in the PRIVMSG path git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11606 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index de4d21f9a..9023d7728 100644 --- a/include/users.h +++ b/include/users.h @@ -767,7 +767,7 @@ class CoreExport User : public EventHandler /** Write text to this user, appending CR/LF. * @param text A std::string to send to the user */ - void Write(std::string text); + void Write(const std::string &text); /** Write text to this user, appending CR/LF. * @param text The format string for text to send to the user -- cgit v1.2.3