diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 23:28:19 +0000 |
commit | 37edb225d7de2592c0a229ce18654d2eb2992f72 (patch) | |
tree | 9957731753fe826ec89418a6d710711c950e6dc0 /src/message.cpp | |
parent | 5e62a8399f1a7a1e9b0bd02a8df6b1a506d0b203 (diff) |
More removal of formatting where its not neccessary x("%s",str) == bad!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/message.cpp b/src/message.cpp index 264871623..41455a2ef 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -146,9 +146,8 @@ void chop(char* str) return; } string temp = str; - FOREACH_MOD(I_OnServerRaw,OnServerRaw(temp,false,NULL)); const char* str2 = temp.c_str(); - snprintf(str,MAXBUF,"%s",str2); + strlcat(str,str2,MAXBUF); if (strlen(str) >= 511) { str[510] = '\r'; |