diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-09-10 14:12:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 14:12:53 +0200 |
| commit | abba7630e13f7e5269c14c2c43b66b03559ddfe3 (patch) | |
| tree | 4770a2375d594ef080aa4ad8262aa2df42831c26 /webAO/client/sender/sendOOC.ts | |
| parent | 09a23ea9d7ee37d8e2dfb036786c41ce37496c51 (diff) | |
| parent | 93979636fb5d1c60f0da3290e80eb3ca9ead992f (diff) | |
Merge pull request #173 from caleb-mabry/trying-to-minimize
Client at 297 lines
Diffstat (limited to 'webAO/client/sender/sendOOC.ts')
| -rw-r--r-- | webAO/client/sender/sendOOC.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client/sender/sendOOC.ts b/webAO/client/sender/sendOOC.ts index a410b5f..9674ad9 100644 --- a/webAO/client/sender/sendOOC.ts +++ b/webAO/client/sender/sendOOC.ts @@ -1,7 +1,7 @@ import { client } from '../../client' import { escapeChat } from '../../encoding'; import setCookie from '../../utils/setCookie'; - +import { saveChatlogHandle } from '../../client/saveChatLogHandle' /** * Sends an out-of-character chat message. * @param {string} message the message to send @@ -17,7 +17,7 @@ export const sendOOC = (message: string) => { const oocMessage = `${escapeChat(message)}`; const commands = { - "/save_chatlog": client.saveChatlogHandle, + "/save_chatlog": saveChatlogHandle, }; const commandsMap = new Map(Object.entries(commands)); |
