diff options
Diffstat (limited to 'protocols/Dummy')
-rw-r--r-- | protocols/Dummy/src/main.cpp | 2 | ||||
-rw-r--r-- | protocols/Dummy/src/stdafx.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index ec1c2e52eb..d5cb7ab141 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -87,7 +87,7 @@ extern "C" int __declspec(dllexport) Load() pd.fnInit = (pfnInitProto)dummyProtoInit; pd.fnUninit = (pfnUninitProto)dummyProtoUninit; pd.type = PROTOTYPE_PROTOCOL; - CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd); + Proto_RegisterModule(&pd); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); return 0; diff --git a/protocols/Dummy/src/stdafx.h b/protocols/Dummy/src/stdafx.h index ac945252c3..7416c2aeef 100644 --- a/protocols/Dummy/src/stdafx.h +++ b/protocols/Dummy/src/stdafx.h @@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <m_message.h> #include <m_netlib.h> #include <m_options.h> -#include <m_protomod.h> #include <m_protosvc.h> #include <m_protoint.h> #include <m_skin.h> |