diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-24 14:52:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-24 14:52:14 +0300 |
commit | baa0c8ab5a4e5dc7a94a6bb0b8be095a760f48d0 (patch) | |
tree | d4a6b214ca5407cbc236f61190e9e7ec91cea929 /plugins/DbEditorPP/src/deletemodule.cpp | |
parent | 7394160d234881ab31ba5f5e996e052ef5002b6c (diff) |
dbeditor:
- code cleaning
- version bump
Diffstat (limited to 'plugins/DbEditorPP/src/deletemodule.cpp')
-rw-r--r-- | plugins/DbEditorPP/src/deletemodule.cpp | 3 |
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;
|