mirror of
https://github.com/thelounge/thelounge
synced 2024-11-14 08:17:16 +00:00
Rename log to userLog
This commit is contained in:
parent
d090cafcaa
commit
fd36eea0ed
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue