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.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index 2f106f009b..718a80faa2 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -650,6 +650,12 @@ static INT_PTR ReloadSettings(WPARAM, LPARAM lParam)
return 0;
}
+static INT_PTR svcQMgr(WPARAM, LPARAM)
+{
+ SendLater::invokeQueueMgrDlg();
+ return 0;
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
// initialises the internal API, services, events etc...
@@ -664,7 +670,7 @@ static void TSAPI InitAPI()
CreateServiceFunction("TabSRMsg/ReloadSettings", ReloadSettings);
CreateServiceFunction(MS_TABMSG_SETUSERPREFS, SetUserPrefs);
- CreateServiceFunction(MS_TABMSG_SLQMGR, CSendLater::svcQMgr);
+ CreateServiceFunction(MS_TABMSG_SLQMGR, svcQMgr);
SI_InitStatusIcons();
}
@@ -685,7 +691,6 @@ int LoadSendRecvMessageModule(void)
PluginConfig.hUserPrefsWindowList = WindowList_Create();
sendQueue = new SendQueue;
Skin = new CSkin;
- sendLater = new CSendLater;
HookEvent(ME_OPT_INITIALISE, OptInitialise);