Amend last commit

This commit is contained in:
calzoneman 2013-08-16 13:26:31 -05:00
parent 063b179ab3
commit 448d50e796

2
api.js
View file

@ -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");