mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
const constants = require("../constants");
|
|
const socket = require("../socket");
|
|
|
|
socket.on("commands", function(commands) {
|
|
if (commands) {
|
|
constants.commands = commands;
|
|
}
|
|
});
|