From 448d50e796e429e42e4699300984fc8a6dd52bf2 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Fri, 16 Aug 2013 13:26:31 -0500 Subject: [PATCH] Amend last commit --- api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.js b/api.js index 9bb1676c..76e5e38c 100644 --- a/api.js +++ b/api.js @@ -10,10 +10,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI */ var Logger = require("./logger"); -var ActionLog = require("./actionlog"); var fs = require("fs"); module.exports = function (Server) { + var ActionLog = require("./actionlog")(Server); function getIP(req) { var raw = req.connection.remoteAddress; var forward = req.header("x-forwarded-for");