aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/clientchathooks.cpp
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2022-11-17 00:15:46 +0000
committerGitHub <noreply@github.com>2022-11-17 01:15:46 +0100
commitff48d3c4998835dfca26c3f5db6de91dcf190d83 (patch)
tree4714c87ba5a9cf774b074e66ec99005a9b7e0ca7 /NorthstarDLL/clientchathooks.cpp
parent06b088d9a188510a2334ed52a0a3d24129f095bb (diff)
downloadNorthstarLauncher-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.cpp5
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()
+}