diff options
Diffstat (limited to 'plugins/NewEventNotify/src/main.cpp')
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 051177106e..60692ec06b 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -47,7 +47,8 @@ PLUGININFOEX pluginInfoEx = CMPlugin::CMPlugin() :
PLUGIN<CMPlugin>(MODULENAME, pluginInfoEx),
- bPopups(MODULENAME, "Popups", true)
+ bPopups(MODULENAME, "Popups", true),
+ bMucPopups(MODULENAME, "MucPopups", true)
{}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -126,6 +127,11 @@ int CMPlugin::Load() delSetting(OPT_DISABLE);
}
+ if (getBool(OPT_MUCDISABLE, false)) {
+ bMucPopups = false;
+ delSetting(OPT_MUCDISABLE);
+ }
+
HookEvent(ME_SYSTEM_MODULESLOADED, HookedInit);
HookEvent(ME_OPT_INITIALISE, OptionsAdd);
|