From 49fa6bdca1d26fb7ed94c2dddb99e8591672eab4 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 29 Dec 2005 23:31:06 +0000 Subject: Double copies due to bad chop() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2705 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/message.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/message.cpp') 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'; -- cgit v1.2.3