diff options
author | bobzel <zzzman@gmail.com> | 2024-08-15 15:45:44 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-08-15 15:45:44 -0400 |
commit | fed4bf0b7363b9d58828a7a51f037a26f287d874 (patch) | |
tree | f6a74aa454a6211ec0ccfcfc2da2d2f9df8a15b0 /src/ServerUtils.ts | |
parent | 25ea424ab2e6c32272e828b98822eb32f1fe2cab (diff) |
fixed emptyPath type
Diffstat (limited to 'src/ServerUtils.ts')
-rw-r--r-- | src/ServerUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ServerUtils.ts b/src/ServerUtils.ts index 904541fc7..8b2d0b9f6 100644 --- a/src/ServerUtils.ts +++ b/src/ServerUtils.ts @@ -16,7 +16,7 @@ export namespace ServerUtils { export function AddServerHandlerCallback<T>(socket: Socket, message: Message<T>, handler: (args: [T, (res: unknown) => void]) => void) { socket.on(message.Message, (arg: T, fn: (res: unknown) => void) => { Utils.log('S receiving', message.Name, arg, true); - handler([arg, Utils.loggingCallback('S sending', fn, message.Name)]); + handler([arg, Utils.loggingCallback('Sending', fn, message.Name)]); }); } export type RoomHandler = (socket: Socket, room: string) => void; |