summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/main.cpp')
-rw-r--r--plugins/NewStory/src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp
index 3b43192ad3..fc9d66a8e5 100644
--- a/plugins/NewStory/src/main.cpp
+++ b/plugins/NewStory/src/main.cpp
@@ -13,6 +13,8 @@
CMPlugin g_plugin;
+CMOption<bool> g_bOptGrouping(MODULENAME, "MessageGrouping", false);
+
/////////////////////////////////////////////////////////////////////////////////////////
PLUGININFOEX pluginInfoEx =
@@ -102,7 +104,8 @@ static int evtPreShutdown(WPARAM, LPARAM)
int CMPlugin::Load()
{
- g_plugin.registerIcon(MODULETITLE, icons);
+ registerIcon(MODULETITLE, icons);
+ bMsgGrouping = g_bOptGrouping;
m_log = RegisterSrmmLog(MODULETITLE, _T(MODULENAME), NewStory_Stub);