diff options
author | Marcel Klehr <mklehr@gmx.net> | 2012-09-22 13:51:39 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-09-22 13:51:39 +0200 |
commit | 71579d14783aa0f020664353f6596142dddfb069 (patch) | |
tree | 507a1fcbf320ddd31e6477435b6eace67a6eb4fb /src/node/padaccess.js | |
parent | ff7cf991c9f6bb6b7d1c9f9d1bd0963050170bb8 (diff) | |
download | etherpad-lite-71579d14783aa0f020664353f6596142dddfb069.zip |
Fix res.send (migrate to express v3)
Diffstat (limited to 'src/node/padaccess.js')
-rw-r--r-- | src/node/padaccess.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/padaccess.js b/src/node/padaccess.js index a3d1df33..4388ab94 100644 --- a/src/node/padaccess.js +++ b/src/node/padaccess.js @@ -15,7 +15,7 @@ module.exports = function (req, res, callback) { callback(); //no access } else { - res.send("403 - Can't touch this", 403); + res.send(403, "403 - Can't touch this"); } }); } |