diff options
| author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 12:28:54 +0000 | 
|---|---|---|
| committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-19 12:28:54 +0000 | 
| commit | 88b9a1242d2987ad4d4c200389a198b894193be9 (patch) | |
| tree | e35ec2cf02dcce32baf37072d84ea497e8203ace /plugins/StopSpamMod/src | |
| parent | e3efce3d88484f806f49a59e9ceeed0bd3fb06c1 (diff) | |
- Stopspam mod small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamMod/src')
| -rwxr-xr-x | plugins/StopSpamMod/src/utilities.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 4b596456bf..d2a4d34b05 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -22,7 +22,7 @@ tstring DBGetContactSettingStringPAN(HANDLE hContact, char const * szModule, cha  {  	DBVARIANT dbv;  	//if(DBGetContactSetting(hContact, szModule, szSetting, &dbv)) -	if(db_get_s(hContact, szModule, szSetting, &dbv)) +	if(DBGetContactSettingTString(hContact, szModule, szSetting, &dbv))  		return errorValue;  //	if(DBVT_TCHAR == dbv.type )  		errorValue = dbv.ptszVal; @@ -34,7 +34,7 @@ std::string DBGetContactSettingStringPAN_A(HANDLE hContact, char const * szModul  {  	DBVARIANT dbv;  	//if(DBGetContactSetting(hContact, szModule, szSetting, &dbv)) -	if(db_get_s(hContact, szModule, szSetting, &dbv)) +	if(DBGetContactSettingString(hContact, szModule, szSetting, &dbv))  		return errorValue;  //	if(DBVT_ASCIIZ == dbv.type )  		errorValue = dbv.pszVal; | 
