Amend last commit

This commit is contained in:
calzoneman 2013-08-16 13:26:31 -05:00
parent 063b179ab3
commit 448d50e796
1 changed files with 1 additions and 1 deletions

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