From 39f36e146e8bc9ccf3b2f95f5154065490d11d9e Mon Sep 17 00:00:00 2001 From: reality Date: Wed, 30 Oct 2013 17:13:36 +0000 Subject: [PATCH] fix dent --- modules/dent/config.json | 3 ++- modules/dent/dent.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/dent/config.json b/modules/dent/config.json index e5715fe..d631edd 100644 --- a/modules/dent/config.json +++ b/modules/dent/config.json @@ -3,5 +3,6 @@ "password": "yourpasswordhere", "dependencies": [ "link" ], "ignorable": true, - "dentQuotes": true + "dentQuotes": true, + "api": "http://quitter.se/" } diff --git a/modules/dent/dent.js b/modules/dent/dent.js index 2935edc..bf9bce3 100644 --- a/modules/dent/dent.js +++ b/modules/dent/dent.js @@ -21,7 +21,7 @@ var dent = function(dbot) { new Buffer(username + ":" + password).toString("base64"); request.post({ - 'url': 'http://identi.ca/api/statuses/update.json?status=' + + 'url': this.config.api + '/statuses/update.json?status=' + escape(content), 'headers': { 'Authorization': auth