Minor changes
This commit is contained in:
parent
044b61be29
commit
216030710a
2
client/js/libs.min.js
vendored
2
client/js/libs.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@ function escape(text) {
|
||||
var e = {
|
||||
"<": "<",
|
||||
">": ">",
|
||||
"'": """
|
||||
"'": "'"
|
||||
};
|
||||
return text.replace(/[<>']/g, function (c) {
|
||||
return e[c];
|
||||
|
@ -47,7 +47,7 @@ module.exports = {
|
||||
// Enable debug mode.
|
||||
// This is only useful for development.
|
||||
//
|
||||
// @type string
|
||||
// @type boolean
|
||||
// @default false
|
||||
//
|
||||
debug: false,
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "shout",
|
||||
"description": "A web IRC client",
|
||||
"version": "0.30.1",
|
||||
"version": "0.30.2",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
@ -50,13 +50,14 @@ program
|
||||
}
|
||||
});
|
||||
|
||||
function add(manager, name, password) {
|
||||
console.log("");
|
||||
var hash = bcrypt.hashSync(password, 8);
|
||||
manager.addUser(
|
||||
name,
|
||||
hash
|
||||
);
|
||||
console.log("Added '" + name + "'.");
|
||||
console.log("");
|
||||
}
|
||||
function add(manager, name, password) {
|
||||
console.log("");
|
||||
var hash = bcrypt.hashSync(password, 8);
|
||||
manager.addUser(
|
||||
name,
|
||||
hash
|
||||
);
|
||||
console.log("User '" + name + "' created:");
|
||||
console.log(Helper.resolveHomePath("users", name, "user.json"));
|
||||
console.log("");
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ var Msg = require("../../models/msg");
|
||||
|
||||
module.exports = function(irc, network) {
|
||||
var client = this;
|
||||
var self = false;
|
||||
irc.on("nick", function(data) {
|
||||
var self = false;
|
||||
if (data["new"] == irc.me) {
|
||||
var lobby = network.channels[0];
|
||||
var msg = new Msg({
|
||||
|
Loading…
Reference in New Issue
Block a user