Rename variable corresponding to the server

This commit is contained in:
Jérémie Astori 2016-02-10 05:47:03 +00:00
parent 7ff07efa4c
commit 96158ba43d

View File

@ -1,6 +1,6 @@
var ClientManager = new require("../clientManager"); var ClientManager = new require("../clientManager");
var program = require("commander"); var program = require("commander");
var shout = require("../server"); var server = require("../server");
var Helper = require("../helper"); var Helper = require("../helper");
program program
@ -26,7 +26,7 @@ program
console.log("Create a new user with 'lounge add <name>'."); console.log("Create a new user with 'lounge add <name>'.");
console.log(""); console.log("");
} else { } else {
shout({ server({
host: program.host || process.env.IP || config.host, host: program.host || process.env.IP || config.host,
port: program.port || process.env.PORT || config.port, port: program.port || process.env.PORT || config.port,
bind: program.bind || config.bind, bind: program.bind || config.bind,