Rename log to userLog
This commit is contained in:
parent
d090cafcaa
commit
fd36eea0ed
@ -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 New Issue
Block a user