From fc70234c12fc3f9825484bdba094f306d0779c88 Mon Sep 17 00:00:00 2001 From: sje Date: Sun, 1 Jul 2007 11:21:23 +0000 Subject: format text, incoming & outgoing updater support encrypt password in db git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@229 4f64403b-2f21-0410-a795-97e2b3489a10 --- MySpace/server_con.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MySpace/server_con.cpp') 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 @@ -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; -- cgit v1.2.3