diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-29 09:47:07 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-29 09:47:07 +0000 |
commit | 1789d473b341d4e7362c0a08ffc3d4624e61f773 (patch) | |
tree | 77f7c5ec9a6e0759483687c142228689fb46619d /tipper/subst.cpp | |
parent | 1dee19d1535810463918256017c952d60182220c (diff) |
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
Diffstat (limited to 'tipper/subst.cpp')
-rw-r--r-- | tipper/subst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |