From 1789d473b341d4e7362c0a08ffc3d4624e61f773 Mon Sep 17 00:00:00 2001 From: sje Date: Wed, 29 Nov 2006 09:47:07 +0000 Subject: TioDuke patches again - thanks (fix corrupted status message, and 'flickering') git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@67 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/subst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tipper/subst.cpp') diff --git a/tipper/subst.cpp b/tipper/subst.cpp index 92f35ef..f7e7f5d 100644 --- a/tipper/subst.cpp +++ b/tipper/subst.cpp @@ -147,7 +147,7 @@ TCHAR *GetStatusMessageText(HANDLE hContact) { TCHAR *ret = 0; DBVARIANT dbv; if(!DBGetContactSettingTString(hContact, MODULE, "TempStatusMsg", &dbv)) { - if(dbv.ptszVal && dbv.ptszVal[0]) { + if(dbv.type != DBVT_DELETED && dbv.ptszVal && dbv.ptszVal[0]) { ret = _tcsdup(dbv.ptszVal); StripBBCodesInPlace(ret); } else CallContactService(hContact, PSS_GETAWAYMSG, 0, 0); -- cgit v1.2.3