mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-18 14:16:36 +02:00
9 lines
171 B
JavaScript
9 lines
171 B
JavaScript
import constants from "../constants";
|
|
import socket from "../socket";
|
|
|
|
socket.on("commands", function(commands) {
|
|
if (commands) {
|
|
constants.commands = commands;
|
|
}
|
|
});
|