summaryrefslogtreecommitdiff
path: root/plugins/Nudge/src/nudge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Nudge/src/nudge.cpp')
-rw-r--r--plugins/Nudge/src/nudge.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Nudge/src/nudge.cpp b/plugins/Nudge/src/nudge.cpp
index 9fb9d377e4..51b6af9824 100644
--- a/plugins/Nudge/src/nudge.cpp
+++ b/plugins/Nudge/src/nudge.cpp
@@ -6,11 +6,11 @@ void CNudge::Save(void)
mir_snprintf(SectionName,512,"useByProtocol");
DBWriteContactSettingByte(NULL, "Nudge", SectionName, this->useByProtocol);
mir_snprintf(SectionName,512,"RecvTimeSec");
- DBWriteContactSettingDword(NULL, "Nudge", SectionName, this->recvTimeSec);
+ db_set_dw(NULL, "Nudge", SectionName, this->recvTimeSec);
mir_snprintf(SectionName,512,"SendTimeSec");
- DBWriteContactSettingDword(NULL, "Nudge", SectionName, this->sendTimeSec);
+ db_set_dw(NULL, "Nudge", SectionName, this->sendTimeSec);
mir_snprintf(SectionName,512,"ResendDelaySec");
- DBWriteContactSettingDword(NULL, "Nudge", SectionName, this->resendDelaySec);
+ db_set_dw(NULL, "Nudge", SectionName, this->resendDelaySec);
}
@@ -58,7 +58,7 @@ void CNudgeElement::Save(void)
mir_snprintf(SectionName,512,"%s-autoResend", ProtocolName);
DBWriteContactSettingByte(NULL, "Nudge", SectionName, this->autoResend);
mir_snprintf(SectionName,512,"%s-statusFlags", ProtocolName);
- DBWriteContactSettingDword(NULL, "Nudge", SectionName, this->statusFlags);
+ db_set_dw(NULL, "Nudge", SectionName, this->statusFlags);
mir_snprintf(SectionName,512,"%s-recText", ProtocolName);
DBWriteContactSettingTString(NULL, "Nudge", SectionName, this->recText);
mir_snprintf(SectionName,512,"%s-senText", ProtocolName);