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