diff --git a/src/idz/index.ts b/src/idz/index.ts index 85413be..909c919 100644 --- a/src/idz/index.ts +++ b/src/idz/index.ts @@ -1,7 +1,7 @@ import { Socket } from "net"; import { dispatch } from "./handler"; -import setup from "./setup"; +import { setup } from "./setup"; import { World } from "./world"; const world = new World(); diff --git a/src/idz/setup.ts b/src/idz/setup.ts index f1f8628..e7bc157 100644 --- a/src/idz/setup.ts +++ b/src/idz/setup.ts @@ -36,7 +36,7 @@ interface Session { }; } -export default function setup(socket: Socket): Session { +export function setup(socket: Socket): Session { // // Construct and transmit setup message //