diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 14:05:57 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 14:05:57 +0000 |
commit | a40469c45404d48770ac933aee033b9b2cc34978 (patch) | |
tree | 7a50b1af46022a15b9cf8bee170b27c061c8d70d /include | |
parent | 7dd3760b6cba0ddd607b85ab97db7f958336fbe1 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/helperfuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, ...); |