Rename log to userLog

This commit is contained in:
Pavel Djundik 2016-04-16 13:35:04 +03:00
parent d090cafcaa
commit fd36eea0ed
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
var _ = require("lodash"); var _ = require("lodash");
var Chan = require("./models/chan"); var Chan = require("./models/chan");
var crypto = require("crypto"); var crypto = require("crypto");
var log = require("./log"); var userLog = require("./userLog");
var Msg = require("./models/msg"); var Msg = require("./models/msg");
var Network = require("./models/network"); var Network = require("./models/network");
var ircFramework = require("irc-framework"); var ircFramework = require("irc-framework");
@ -90,7 +90,7 @@ Client.prototype.emit = function(event, data) {
if (target.chan.type === Chan.Type.LOBBY) { if (target.chan.type === Chan.Type.LOBBY) {
chan = target.network.host; chan = target.network.host;
} }
log.write( userLog.write(
this.name, this.name,
target.network.host, target.network.host,
chan, chan,