diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2022-11-17 00:15:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 01:15:46 +0100 |
commit | ff48d3c4998835dfca26c3f5db6de91dcf190d83 (patch) | |
tree | 4714c87ba5a9cf774b074e66ec99005a9b7e0ca7 /NorthstarDLL/clientchathooks.cpp | |
parent | 06b088d9a188510a2334ed52a0a3d24129f095bb (diff) | |
download | NorthstarLauncher-ff48d3c4998835dfca26c3f5db6de91dcf190d83.tar.gz NorthstarLauncher-ff48d3c4998835dfca26c3f5db6de91dcf190d83.zip |
Fix broken chat hooks due to missing `AUTOHOOK_DISPATCH()` (#335)
Diffstat (limited to 'NorthstarDLL/clientchathooks.cpp')
-rw-r--r-- | NorthstarDLL/clientchathooks.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/NorthstarDLL/clientchathooks.cpp b/NorthstarDLL/clientchathooks.cpp index 3346ea2e..1a25c897 100644 --- a/NorthstarDLL/clientchathooks.cpp +++ b/NorthstarDLL/clientchathooks.cpp @@ -70,3 +70,8 @@ ADD_SQFUNC("void", NSChatWriteLine, "int context, string text", "", ScriptContex LocalChatWriter((LocalChatWriter::Context)chatContext).WriteLine(str); return SQRESULT_NULL; } + +ON_DLL_LOAD_CLIENT("client.dll", ClientChatHooks, (CModule module)) +{ + AUTOHOOK_DISPATCH() +} |