diff options
Diffstat (limited to 'server/src/commands/core')
-rw-r--r-- | server/src/commands/core/chat.js | 4 | ||||
-rw-r--r-- | server/src/commands/core/join.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/server/src/commands/core/chat.js b/server/src/commands/core/chat.js index 01ee256..908c205 100644 --- a/server/src/commands/core/chat.js +++ b/server/src/commands/core/chat.js @@ -2,7 +2,7 @@ Description: Rebroadcasts any `text` to all clients in a `channel` */ -import * as UAC from "../utility/UAC/info"; +import * as UAC from '../utility/UAC/_info'; // module support functions const parseText = (text) => { @@ -45,7 +45,7 @@ export async function run(core, server, socket, data) { cmd: 'chat', nick: socket.nick, text, - level: socket.level + level: socket.level, }; if (UAC.isAdmin(socket.level)) { diff --git a/server/src/commands/core/join.js b/server/src/commands/core/join.js index eccac6e..3a59a6d 100644 --- a/server/src/commands/core/join.js +++ b/server/src/commands/core/join.js @@ -2,7 +2,7 @@ Description: Initial entry point, applies `channel` and `nick` to the calling socket */ -import * as UAC from "../utility/UAC/info"; +import * as UAC from '../utility/UAC/_info'; // module support functions const crypto = require('crypto'); @@ -22,7 +22,7 @@ export function parseNickname(core, data) { nick: '', uType: 'user', trip: null, - level: UAC.levels.user, + level: UAC.levels.default, }; // seperate nick from password |