From a40469c45404d48770ac933aee033b9b2cc34978 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Mar 2006 14:05:57 +0000 Subject: Tidyup by making some thing sprintf only once rather than n times (where n is number of targets) String reference stuff for one function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3653 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/helperfuncs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/helperfuncs.h b/include/helperfuncs.h index 90c23f776..de003fa37 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -50,7 +50,7 @@ void ChanExceptSender_NoFormat(chanrec* Ptr, userrec* user, char status, const c void WriteCommon_NoFormat(userrec *u, const char* text); void WriteCommonExcept_NoFormat(userrec *u, const char* text); -std::string GetServerDescription(char* servername); +std::string& GetServerDescription(char* servername); void WriteCommon(userrec *u, char* text, ...); void WriteCommonExcept(userrec *u, char* text, ...); void WriteOpers(char* text, ...); -- cgit v1.2.3