Skip to content

Commit

Permalink
Add presend hook
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonsturgeon committed Jul 5, 2024
1 parent 40f8bc2 commit e2f8ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moon/cfc_chat_transit/server/init.moon
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ hook.Add "Think", loadHook, ->
return nil

ChatTransit.Send = (data) =>
hook.Run "CFC_ChatTransit_SendMessage", data

logger\debug "Sending '#{data.Type}'"
steamID64 = data.Data.SteamId

Expand Down

0 comments on commit e2f8ed2

Please sign in to comment.