diff options
| author | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-11-12 21:44:56 +0300 | 
| commit | 53fe3e46177d17b4941610de19f5cc6210700cb4 (patch) | |
| tree | b67a6bc208dad141f9db14035cd7e42ff2a51872 /protocols/MSN/src/msn_proto.cpp | |
| parent | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff) | |
db_* functions replaced with g_plugin calls
Diffstat (limited to 'protocols/MSN/src/msn_proto.cpp')
| -rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 2005afd17c..4cc2b1fae4 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -105,10 +105,10 @@ CMsnProto::CMsnProto(const char* aProtoName, const wchar_t* aUserName) :  		delSetting("LoginServer");
  	if (MyOptions.SlowSend) {
 -		if (db_get_dw(NULL, "SRMsg", "MessageTimeout", 10000) < 60000)
 -			db_set_dw(NULL, "SRMsg", "MessageTimeout", 60000);
 -		if (db_get_dw(NULL, "SRMM", "MessageTimeout", 10000) < 60000)
 -			db_set_dw(NULL, "SRMM", "MessageTimeout", 60000);
 +		if (db_get_dw(0, "SRMsg", "MessageTimeout", 10000) < 60000)
 +			db_set_dw(0, "SRMsg", "MessageTimeout", 60000);
 +		if (db_get_dw(0, "SRMM", "MessageTimeout", 10000) < 60000)
 +			db_set_dw(0, "SRMM", "MessageTimeout", 60000);
  	}
  	mailsoundname = (char*)mir_alloc(64);
 | 
