From fd36eea0ed837bffe63d0d68a83eb716628068d6 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 16 Apr 2016 13:35:04 +0300 Subject: [PATCH] Rename log to userLog --- src/client.js | 4 ++-- src/{log.js => userLog.js} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{log.js => userLog.js} (100%) diff --git a/src/client.js b/src/client.js index fde1cae0..0948d9b9 100644 --- a/src/client.js +++ b/src/client.js @@ -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, diff --git a/src/log.js b/src/userLog.js similarity index 100% rename from src/log.js rename to src/userLog.js