summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 3ebc767a9c..c44bcccc4b 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -689,6 +689,11 @@ int LoadSendRecvMessageModule(void)
db_delete_module(0, NEN_OLD_MODULE);
}
+ if (!db_is_module_empty(0, SRMSGMOD)) {
+ db_copy_module(SRMSGMOD, SRMM_MODULE);
+ db_delete_module(0, SRMSGMOD);
+ }
+
if (M.GetDword("cWarningsV", 0) == 0)
db_set_dw(0, SRMSGMOD_T, "cWarningsV", M.GetDword("cWarningsL", 0));