aboutsummaryrefslogtreecommitdiff
path: root/src/ServerUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ServerUtils.ts')
-rw-r--r--src/ServerUtils.ts2
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;