diff --git a/primedev/server/serverchathooks.cpp b/primedev/server/serverchathooks.cpp index 9abb41506..11f55f00e 100644 --- a/primedev/server/serverchathooks.cpp +++ b/primedev/server/serverchathooks.cpp @@ -8,8 +8,6 @@ #include #include -AUTOHOOK_INIT() - class CServerGameDLL; class CRecipientFilter @@ -152,8 +150,6 @@ ON_DLL_LOAD("engine.dll", EngineServerChatHooks, (CModule module)) ON_DLL_LOAD_RELIESON("server.dll", ServerChatHooks, ServerSquirrel, (CModule module)) { - AUTOHOOK_DISPATCH_MODULE(server.dll) - o_pCServerGameDLL__OnReceivedSayTextMessage = module.Offset(0x1595C0).RCast(); HookAttach(&(PVOID&)o_pCServerGameDLL__OnReceivedSayTextMessage, (PVOID)h_CServerGameDLL__OnReceivedSayTextMessage);