diff options
Diffstat (limited to 'plugins/Import/src/main.cpp')
-rw-r--r-- | plugins/Import/src/main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp index 046d463f39..0477aae3f4 100644 --- a/plugins/Import/src/main.cpp +++ b/plugins/Import/src/main.cpp @@ -46,8 +46,10 @@ static PLUGININFOEX pluginInfoEx = { };
CMPlugin::CMPlugin() :
- PLUGIN<CMPlugin>(IMPORT_MODULE, pluginInfoEx)
-{}
+ PLUGIN<CMPlugin>(IMPORT_MODULE, pluginInfoEx),
+ m_patterns(1)
+{
+}
/////////////////////////////////////////////////////////////////////////////////////////
// MirandaInterfaces - returns the protocol interface to the core
@@ -158,6 +160,7 @@ int CMPlugin::Load() icex.dwICC = ICC_DATE_CLASSES;
InitCommonControlsEx(&icex);
+ LoadPatterns();
RegisterDbrw();
RegisterMContacts();
RegisterJson();
|