summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-29 23:31:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-29 23:31:06 +0000
commit49fa6bdca1d26fb7ed94c2dddb99e8591672eab4 (patch)
tree4130f8d87c16a0a355748394c039240f0fa89ae4
parent37edb225d7de2592c0a229ce18654d2eb2992f72 (diff)
Double copies due to bad chop()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2705 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/message.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 41455a2ef..6be101ee9 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -145,9 +145,6 @@ void chop(char* str)
log(DEBUG,"ERROR! Null string passed to chop()!");
return;
}
- string temp = str;
- const char* str2 = temp.c_str();
- strlcat(str,str2,MAXBUF);
if (strlen(str) >= 511)
{
str[510] = '\r';