summaryrefslogtreecommitdiff
path: root/MySpace/server_con.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r--MySpace/server_con.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp
index 35e7da1..56560d6 100644
--- a/MySpace/server_con.cpp
+++ b/MySpace/server_con.cpp
@@ -4,6 +4,7 @@
#include "arc4.h"
#include "options.h"
#include "nick_dialog.h"
+#include "formatting.h"
#include <ctime>
@@ -399,6 +400,9 @@ void __cdecl ServerThreadFunc(void*) {
}
char text[MAX_MESSAGE_SIZE];
if(msg.get_string("msg", text, MAX_MESSAGE_SIZE)) {
+ strip_tags(text);
+ unentitize(text);
+
PROTORECVEVENT pre = {0};
pre.flags = PREF_UTF;
pre.szMessage = text;