diff options
-rw-r--r-- | src/message.cpp | 3 |
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'; |