summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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';