summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/TabSRMM/src/msgs.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 3963d18c98..601fdc5000 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -215,6 +215,12 @@ static INT_PTR ReloadSkin(WPARAM, LPARAM)
return 0;
}
+static INT_PTR ReloadSettings(WPARAM, LPARAM lParam)
+{
+ PluginConfig.reloadSettings(lParam);
+ return 0;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// service function finds a message session
// wParam = contact handle for which we want the window handle
@@ -947,6 +953,7 @@ static void TSAPI InitAPI()
CreateServiceFunction("SRMsg/BroadcastMessage", BroadcastMessage);
CreateServiceFunction("TabSRMsg/ReloadSkin", ReloadSkin);
+ CreateServiceFunction("TabSRMsg/ReloadSettings", ReloadSettings);
SI_InitStatusIcons();
CB_InitCustomButtons();