summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/deletemodule.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-24 14:52:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-24 14:52:14 +0300
commitbaa0c8ab5a4e5dc7a94a6bb0b8be095a760f48d0 (patch)
treed4a6b214ca5407cbc236f61190e9e7ec91cea929 /plugins/DbEditorPP/src/deletemodule.cpp
parent7394160d234881ab31ba5f5e996e052ef5002b6c (diff)
dbeditor:
- code cleaning - version bump
Diffstat (limited to 'plugins/DbEditorPP/src/deletemodule.cpp')
-rw-r--r--plugins/DbEditorPP/src/deletemodule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/DbEditorPP/src/deletemodule.cpp b/plugins/DbEditorPP/src/deletemodule.cpp
index 62e63426fd..41b3a123ed 100644
--- a/plugins/DbEditorPP/src/deletemodule.cpp
+++ b/plugins/DbEditorPP/src/deletemodule.cpp
@@ -19,9 +19,8 @@ int deleteModule(MCONTACT hContact, const char *module, int confirm)
if (!EnumSettings(hContact, module, &settinglist))
return 0;
- for (ModSetLinkLinkItem *setting = settinglist.first; setting; setting = setting->next) {
+ for (ModSetLinkLinkItem *setting = settinglist.first; setting; setting = setting->next)
db_unset(hContact, module, setting->name);
- }
FreeModuleSettingLL(&settinglist);
return 1;