diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-01 11:21:23 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-01 11:21:23 +0000 |
commit | fc70234c12fc3f9825484bdba094f306d0779c88 (patch) | |
tree | dd85db29df2bf15e61b29c4763e0d6e0f3c47f4b /MySpace/server_con.cpp | |
parent | ff7aec36581526087e368e4bf6b2e8be7ccfa46e (diff) |
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
Diffstat (limited to 'MySpace/server_con.cpp')
-rw-r--r-- | MySpace/server_con.cpp | 4 |
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;
|