Minor changes
This commit is contained in:
parent
f3aee8f6cb
commit
ea1aaf2d6e
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "shout",
|
||||
"description": "A web IRC client",
|
||||
"version": "0.31.1",
|
||||
"version": "0.31.2",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
@ -74,7 +74,7 @@ Client.prototype.emit = function(event, data) {
|
||||
if (this.sockets !== null) {
|
||||
this.sockets.in(this.id).emit(event, data);
|
||||
}
|
||||
if (this.config.log === true) {
|
||||
if ((this.config || {}).log === true) {
|
||||
if (event == "msg") {
|
||||
var target = this.find(data.chan);
|
||||
if (target) {
|
||||
|
Loading…
Reference in New Issue
Block a user