summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r--protocols/IRCG/src/ircproto.h3
-rw-r--r--protocols/IRCG/src/main.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ircproto.h b/protocols/IRCG/src/ircproto.h
index bc7c19d6b7..473ec06359 100644
--- a/protocols/IRCG/src/ircproto.h
+++ b/protocols/IRCG/src/ircproto.h
@@ -421,6 +421,9 @@ private:
struct CMPlugin : public ACCPROTOPLUGIN<CIrcProto>
{
CMPlugin();
+
+ int Load() override;
+ int Unload() override;
};
#endif // _IRCPROTO_H_
diff --git a/protocols/IRCG/src/main.cpp b/protocols/IRCG/src/main.cpp
index 086cb11dd3..e6061eb2bf 100644
--- a/protocols/IRCG/src/main.cpp
+++ b/protocols/IRCG/src/main.cpp
@@ -64,7 +64,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load()
+int CMPlugin::Load()
{
InitIcons();
InitServers();
@@ -74,7 +74,7 @@ extern "C" int __declspec(dllexport) Load()
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Unload(void)
+int CMPlugin::Unload()
{
UninitContactMenus();
UninitTimers();