Skip to content

Commit

Permalink
server: Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH_MODULE
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Dec 15, 2024
1 parent 0ba2d2b commit cae9195
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions primedev/server/serverchathooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>

AUTOHOOK_INIT()

class CServerGameDLL;

class CRecipientFilter
Expand Down Expand Up @@ -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<decltype(o_pCServerGameDLL__OnReceivedSayTextMessage)>();
HookAttach(&(PVOID&)o_pCServerGameDLL__OnReceivedSayTextMessage, (PVOID)h_CServerGameDLL__OnReceivedSayTextMessage);

Expand Down

0 comments on commit cae9195

Please sign in to comment.