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